Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 22:52:16 -0400 (EDT)
From:      Paul Sandys <myj@nyct.net>
To:        Julian Elischer <julian@whistle.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: RFC.. Proposal.. file flag No-delete
Message-ID:  <Pine.BSF.3.96.970514224707.21308A-100000@bsd1.nyct.net>
In-Reply-To: <337A61BA.69D8BD19@whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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


> 
> > ?
> > 
> >                                         Terry Lambert
> >
> 

P.

<-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->
< myj@nyct.net   Paul Sandys   |   New York Connect   http://www.nyct.net >
< network operations manager   |   Total Solution provider                >
<------------------------------------------------------------------------->
<         " BRINGING NEW YORK THE INTERNET SERVICES IT DESERVES "         >
<-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970514224707.21308A-100000>