Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 17:44:26 -0400
From:      Klaus Steden <klaus@compt.com>
To:        James Pione <jpione@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: write permissions w/out rm capability?
Message-ID:  <20010712174426.I73359@cthulu.compt.com>
In-Reply-To: <200107122132.OAA27338@hawk.mail.pas.earthlink.net>; from jpione@earthlink.net on Thu, Jul 12, 2001 at 05:37:52PM -0400
References:  <200107122132.OAA27338@hawk.mail.pas.earthlink.net>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010712174426.I73359>