At 00:04 10.03.2003 -0600, Jeremy M. Dolan wrote:
Hi all.

Management here wants to restrict users from deleting files via Samba.
NTFS is able to restrict just delete permissions, but still allow new
files to be created and old ones changed. But I've come to the
conclusion this isn't possible with standard UNIX file permissions,
and unfortunately Red Hat does not yet support ACLs on any file
systems.

In Samba's documentation I don't see any indication that a delete=no
type option exists for shares, which surprised me. Am I missing
something?

If not, is there perhaps a compile-time directive to disallow file
deletion?

Otherwise, could someone perhaps point me to what I'd want to change
in the source to accomplish this?

you can write a vfs module that overloads the unlink function and returns access denied when the unlink function is called.



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>




Reply via email to