Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 10:52:12 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Paul Sandys <myj@nyct.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: RFC.. Proposal.. file flag No-delete
Message-ID:  <337B4D4C.102F11D5@whistle.com>
References:  <Pine.BSF.3.96.970514224707.21308A-100000@bsd1.nyct.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Sandys wrote:
> 
> On Wed, 14 May 1997, Julian Elischer wrote:
> 
> > Date: Wed, 14 May 1997 18:07:06 -0700
> > From: Julian Elischer <julian@whistle.com>
> > To: Terry Lambert <terry@lambert.org>
> > Cc: hackers@FreeBSD.ORG
> > Subject: Re: RFC.. Proposal.. file flag No-delete
> >
> > > >            (M) = directory
> > > >            [N] = file
> > > >
> > > > (A)----(B)----[C]
> > > >      |
> > > >      \-(D)
> > > >
> > > > We want non root members of group 'x' to be able to
> > > > add files or directories to directories A, B or D, and delete
> > > > them again,
> > [...] rest of requirement deleted..
> >
> > >
> > > Why won't this work:
> > >
> > > chown root.x a a/b
> > > chmod 1770 a a/b
> > > chown user.x a/d[n]
> > > chmod 1750 a/d[n]
> > >
> >
> > because if userA (in group x) writes a file in B,
> > userB (also in group x) cannot remove it.
> > we thought of this..
> 
> What about creating SGID rm to "x" ? (never tried it thoug)
> 
> cp rm rmx
> chown root.x rmx
> chmod 2750 rmx
> 
the 'removes' are being done vi netatalk, samba and ftp.
there are NO shell accounts on this system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?337B4D4C.102F11D5>