$HOME use the default value "/root" even after changing the user. We should override the env variable to avoid permission errors. | |
| priority | minor |
|---|---|
| type | bug |
| appeared in | <not specified> |
| done in | <not specified> |
| closed by | <not specified> |
] >
Logilab.org | anonymous [register] [login]
|
apycot-moved #35218 ensure that $HOME directory is adjusted with the logged user [open]
|
|||||||||||||||
Comments
-
2010/06/18 14:28, written by sthenault
| reply to this comment
-
2010/06/18 14:52, written by pydavid
| reply to this comment
-
2010/06/18 15:02, written by sthenault
| reply to this comment
-
2010/06/18 15:06, written by anon
| reply to this comment
-
2010/06/18 15:10, written by sthenault
| reply to this comment
(add comment)though the bot should be run as a user with no home, so *nothing* should
try to write things in $HOME
But the bot is useally run as a user with a home. Moreover lot's of tools used by apycot are writting stuff in the $HOME (eg pylint)
duh ? it shouldn't.
then pylint checker should be fixed.
the apycotbot debian package create an apycotbot user whose homedirectory are /var/lib/apycotbot
that doesn't mean it's a desirable behaviour.