[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#593091: mldonkey-server: mlnet.log is empty after upgrade to squeeze (not writable to mldonkey user)



On Mon, Oct 25, 2010 at 7:12 PM, Mehdi Dogguy <mehdi@dogguy.org> wrote:
> The log file's permissions are reset on every start of the mldonkey
> server. They are also reset in the postinst of the server. So, I don't
> know how this could happen.

You mean these lines in startup script?
    chown $MLDONKEY_USER:$MLDONKEY_GROUP /var/run/mldonkey
    chown $MLDONKEY_USER:$MLDONKEY_GROUP /var/log/mldonkey
These commands lack -R switch, only chown directory. Not existing files in it.
Same goes to postinst script, as far as I can see.



Reply to: