VFS WORM module
samba at marc-muehlfeld.de
Mon Sep 16 22:28:18 CEST 2013
Am 16.09.2013 20:23, schrieb Richard Sharpe:
> I think there are two ways to deal with this:
> 1. Use ACLs and add an OWNER RIGHTS ACE that denies any DELETE or
> WRITE-like access rights.
But this wouldn't allow to do any changes in a defined grace period
after the files where placed on the share.
> 2. Add a VFS module that implements CreateFile or open that disallows
> opening for write any existing file.
- Is there already a module that does something similar and can be
easily adapted to provide a kind of WORM feature? I saw
source3/modules/vfs_readonly.c, what maybe could be an entry for a solution.
- Can this be done by some who is familiar with C? Or should it be
better done by someone who is Samba code experienced?
- Do you guess it's much work? 1, 2, 3 weeks,...?
More information about the samba-technical