At 18:37 10.03.2003 +1100, Andrew Bartlett wrote:
On Mon, 2003-03-10 at 18:02, Stefan (metze) Metzmacher wrote:
> 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.

Andrew, read two lines above... :-)


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

Just remember that doing this doesn't actually gain you anything - the
users can still write garbage into the file, or make them zero length.

So the option you are looking for is 'read only = yes' ;-)



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




Reply via email to