From owner-freebsd-questions Thu Jul 12 14:44:33 2001 Delivered-To: freebsd-questions@freebsd.org Received: from kobold.compt.com (TBextgw.compt.com [209.115.146.18]) by hub.freebsd.org (Postfix) with ESMTP id DAF6537B401 for ; Thu, 12 Jul 2001 14:44:30 -0700 (PDT) (envelope-from klaus@kobold.compt.com) Date: Thu, 12 Jul 2001 17:44:26 -0400 From: Klaus Steden To: James Pione Cc: freebsd-questions@FreeBSD.ORG Subject: Re: write permissions w/out rm capability? Message-ID: <20010712174426.I73359@cthulu.compt.com> References: <200107122132.OAA27338@hawk.mail.pas.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200107122132.OAA27338@hawk.mail.pas.earthlink.net>; from jpione@earthlink.net on Thu, Jul 12, 2001 at 05:37:52PM -0400 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 > Hi Everyone. > I'm running a FreeBSD 4.2 server, with netatalk so > it can print and file serve to a lab of old macs. The FBSD server only has > one > account for users to put files in, so that they can put those files into > their main accounts on the main server later on. I'm looking for some > way to set the permissions or something to let users write files to the > home directory of the account, but not be able to edit or delete those > files. Thanks in advance for people's ideas and suggestions. > Read the manual page for 'chflags(1)'; there a number of flags you can set on files to set them immutable, append-only, etc. The only drawback of this scenario is that you have to run at a kernel security level of >= 1 (iirc), which can be a pain for some administrative tasks. Klaus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message