From owner-freebsd-hackers Thu May 15 11:04:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA04365 for hackers-outgoing; Thu, 15 May 1997 11:04:59 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA04355 for ; Thu, 15 May 1997 11:04:56 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id KAA20733; Thu, 15 May 1997 10:52:37 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd020731; Thu May 15 17:52:31 1997 Message-ID: <337B4D4C.102F11D5@whistle.com> Date: Thu, 15 May 1997 10:52:12 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Paul Sandys CC: hackers@FreeBSD.ORG Subject: Re: RFC.. Proposal.. file flag No-delete References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Paul Sandys wrote: > > 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 > the 'removes' are being done vi netatalk, samba and ftp. there are NO shell accounts on this system.