Jeremy, the best way you can accomplish this is to build a custom VFS module. It is really easy to build such module and you only need to intercept and discard any unlink operation.
regards, Simo. On Mon, 2003-03-10 at 07:04, 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? > > Thanks. -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399
signature.asc
Description: This is a digitally signed message part