Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 12:06:40 +1200
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        hulk <hulk-baillie@home.com>
Cc:        questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: problem??? in /etc/periodic/weekly/310.locate ???
Message-ID:  <20010424120640.A98872@itouchnz.itouch>
In-Reply-To: <3AE4BEBF.728C627A@home.com>; from hulk-baillie@home.com on Mon, Apr 23, 2001 at 07:46:08PM -0400
References:  <3AE4BEBF.728C627A@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 23, 2001 at 07:46:08PM -0400, hulk wrote:
> The guts of this script is:
>    echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3
> which means that "nobody" must be in the "wheel" group if my
> understanding
> is correct.

I take it to read that the locate.updatedb process will run as the user
`nobody'. This means that /var/db/locate.database must be owned by
`nobody', and that any directories that aren't readable by `nobody' will
be in locate.database. (ie: expected behaviour, since I *certainly*
don't want everyone to know just what I've got in my private-directories).
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
             "A person should be able to do a small bit of everything,
                                        specialisation is for insects"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010424120640.A98872>