Re: exploring debian's users and groups
On Tue, 07 Aug 2001 at 16:30:16 -0800, Ethan Benson wrote:
> On Tue, Aug 07, 2001 at 04:59:28AM -0500, Colin Watson wrote:
> > Incidentally, /var/cache/man has been man:root mode 2755 on Debian for a
> > long time. Is it just me, or is the setgid bit rather unnecessary?
>
> it is necessary, otherwise all the cache files end up owned by random
> luser's primary groups.
>
> that is quite annoying when you run audits on the filesystem looking
> for unusal ownership.
True. Since we have the 'man' group anyway and aren't using it, how
about switching the group of everything under /var/cache/man to that and
having the directories setgid man? The setgid root directories have
always seemed a bit odd to me, although in this case the exact group is
really only cosmetic.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: