Hi I am trying to simulate a Write Once Read Many (WORM) drive using Samba. Eg. Anyone can write on a drive, but once the file has been written no one can delete or modify the file. This is something that is quite easily done using a Windows Server, but I haven't managed to do so using Samba. Any help would be appreciated. Thanks in advance Jean-Yes
On Sun, May 18, 2008 at 07:03:39PM +1000, Jean-Yves Avenard wrote:> Hi > > I am trying to simulate a Write Once Read Many (WORM) drive using Samba. > Eg. Anyone can write on a drive, but once the file has been written no > one can delete or modify the file. > > This is something that is quite easily done using a Windows Server, > but I haven't managed to do so using Samba.How are you setting this up under Windows ? That might give us a clue. Thanks, Jeremy.
Hi 2008/5/19 Jeremy Allison <jra@samba.org>:> How are you setting this up under Windows ? That might give us a > clue. >On Windows : Check "Create Files / Write Data", Uncheck: "Create Folders / Append Data" Jean-Yves
On 2008-05-18 at 19:03 +1000 Jean-Yves Avenard sent off:> I am trying to simulate a Write Once Read Many (WORM) drive using Samba. > Eg. Anyone can write on a drive, but once the file has been written no > one can delete or modify the file.try making the shared directory be owned by root:root and mode 1777 and set the "WORM" share settings like this: read only = no inherit owner = yes force create mode = 0644 force directory mode = 1777 nt acl support = no Cheers Bj?rn