YunoHost-Apps / Experimental_helpers

6 stars 12 forks source link

Warnings when using postgresql helpers #13

Closed JimboJoe closed 6 years ago

JimboJoe commented 6 years ago

The invoked su commands with the user postgres produce multiple occurrences of this warning:

Warning: yunohost.hook <lambda> - [1158.1] could not change directory to "/tmp/yunohost_remove/scripts": Permission denied

It seems related to the fact that we are in this directory, and postgres user hasn't any right to be in there... Some additional parameter to pass to the su command (multiple occurrences)...?

Jibec commented 6 years ago

I can try to fix this, last time I failed to understand the issue. Thanks for the hint, I'll try.