> From: Jerry McAllister <[EMAIL PROTECTED]>
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to