Re: Problem with start-stop-daemon and pidfile
On Fri, Jan 05, 2001 at 03:29:30AM +0100, Goswin Brederlow wrote:
> >>>>> " " == Matt Zimmerman <firstname.lastname@example.org> writes:
> > On Wed, Jan 03, 2001 at 02:10:19AM +0100, Goswin Brederlow
> > wrote:
> >> touch /var/run/debian-mirror.pid chown mirror.nogroup
> >> /var/run/debian-mirror.pid
> >> touch /var/log/debian-mirror.log chown mirror.nogroup
> >> /var/log/debian-mirror.log
> > Please don't do this. nogroup should not be the group of any
> > files, just as nobody should not be the owner of any files.
> Ups, yes.
> What should I use? root?
It should be sufficient to just chown the file to user 'mirror', and leave the
group as the default (usually root, but maybe modified by the admin by the
permissions on /var/run).