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

Re: /var/run write permissions (was: New user for new package)



> I can't use it because the daemon forks, so, the pid used saved with
> make-pidfile is not real.
> 
> I think i am going to create a new directory inside /var/run with
> permissions for the user.

 You could also modify the daemon source code to drop privileges (just a
call to setuid) after doing any needed initialization (creating the pidfile
in this case)...



Reply to: