Re: slocate vs locate

From: Jon Gomez (jon.gomez.04_at_cnu.edu)
Date: 12/10/04


Date: Thu, 09 Dec 2004 19:21:58 -0500

Durk van Veen wrote:
>> Thing that boders me is that slocate has sgid.
>>
>> Rafal
>
> It needs that so it can access its own database (containing the file
> location info). Because this database contains information on files that
> you as a normal user are not supposed to have access to, the database is
> stored in a directory to which users have no permission
> (normally /var/lib/slocate). In order for slocate itself to be able to
> read the database it needs to be setuid or setgid.

Rafal: Why does it bother you? Is it not sgid only to slocate? Is that
any worse than, for example, putting a user in the audio group? I guess
suspicious isn't a bad thing, though ;-)

Jon.

-- * Does the walker choose the path, or does the path choose the walker?
(fr. Sabriel) * --