One of our projects looks up a file in the user's $HOME, which is set to /root when chpst is run with -u $USER, which makes it fail, because the user doesn't have permission to read anything in there. I changed it, so we run those commands with -U $USER instead, so the user's $HOME is set properly. At the same time I had to adapt the test to the latest Rails version, which is why this pull-request got slightly bigger.
One of our projects looks up a file in the user's
$HOME
, which is set to/root
whenchpst
is run with-u $USER
, which makes it fail, because the user doesn't have permission to read anything in there. I changed it, so we run those commands with-U $USER
instead, so the user's$HOME
is set properly. At the same time I had to adapt the test to the latest Rails version, which is why this pull-request got slightly bigger.