From owner-freebsd-questions Tue Nov 26 13:24:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 560BC37B401 for ; Tue, 26 Nov 2002 13:24:50 -0800 (PST) Received: from the-frontier.org (ns1.the-frontier.org [216.86.199.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E49643EB2 for ; Tue, 26 Nov 2002 13:24:49 -0800 (PST) (envelope-from pscott@skycoast.us) Received: from [192.168.66.249] (dhcp-249-66-168-192.the-frontier.org [192.168.66.249]) by the-frontier.org (8.9.3/8.9.3) with ESMTP id NAA16057; Tue, 26 Nov 2002 13:24:14 -0800 (PST) (envelope-from pscott@skycoast.us) User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Tue, 26 Nov 2002 13:24:14 -0800 Subject: Re: allow write to directory but not modify the dir itself possible? From: "Paul A. Scott" To: Jerry McAllister , Peter Brezny Cc: Message-ID: In-Reply-To: <200211261909.gAQJ9QS18175@clunix.cl.msu.edu> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Jerry McAllister > Just take away write permissions on the directory, but leave it > on the file[s] in the directory. You have to leave x permission > on the directory, but not necessarily r permission. That will allow the owner of the file to write, but will not let a user create new files in the directory. The 'sticky' bit on the directory will allow anyone to write to the directory and control their own files but not delete other peoples files or the directory itself. chown dirowner:dirgroup dirname chmod 1777 dirname This may or may not be what you want, but from the original description it seems to fit the bill. Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message