From owner-freebsd-hackers Wed May 14 19:52:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA24012 for hackers-outgoing; Wed, 14 May 1997 19:52:31 -0700 (PDT) Received: from bsd1.nyct.net (myj@bsd1.nyct.net [204.141.86.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA24003 for ; Wed, 14 May 1997 19:52:28 -0700 (PDT) Received: from localhost (myj@localhost) by bsd1.nyct.net (8.8.5/8.8.5) with SMTP id WAA22019; Wed, 14 May 1997 22:52:16 -0400 (EDT) Date: Wed, 14 May 1997 22:52:16 -0400 (EDT) From: Paul Sandys To: Julian Elischer cc: hackers@FreeBSD.ORG Subject: Re: RFC.. Proposal.. file flag No-delete In-Reply-To: <337A61BA.69D8BD19@whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 14 May 1997, Julian Elischer wrote: > Date: Wed, 14 May 1997 18:07:06 -0700 > From: Julian Elischer > To: Terry Lambert > 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 " > <-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_->