Re: [Samba] Re: Write Once Read Many share with samba

2008-05-21 Thread Mike Wilkinson
Hello all, I've knocked together a vfs module that does this, basically a worm with the exception of directories. directories can be renamed if they're empty, otherwise it's readonly. I'm not sure what the policy is with posting attachments so won't include it here, give me a shout if your

Re: [Samba] Re: Write Once Read Many share with samba

2008-05-21 Thread Jeremy Allison
On Wed, May 21, 2008 at 01:15:02PM -0400, Mike Wilkinson wrote: Hello all, I've knocked together a vfs module that does this, basically a worm with the exception of directories. directories can be renamed if they're empty, otherwise it's readonly. I'm not sure what the policy is with

[Samba] Re: Write Once Read Many share with samba

2008-05-20 Thread Brian May
Jack Downes wrote: You could handle this outside of Samba with ACLs on your filesystem. Assuming you use ext3 for the filesys, there are some rather good acl tools for that. I don't think POSIX ACLs will do this either. Brian May -- To unsubscribe from this list go to the following URL and

Re: [Samba] Re: Write Once Read Many share with samba

2008-05-20 Thread Mike Wilkinson
Jean-Yves Avenard wrote: Hi 2008/5/20 Brian May [EMAIL PROTECTED]: I don't think it is possible with Unix or Samba permissions to: * allow file writes but deny file appends (and other modifications?). * allow creating files but deny creating folders. which appears to be what you have done

[Samba] Re: Write Once Read Many share with samba

2008-05-19 Thread Brian May
Jean-Yves Avenard wrote: On Windows : Check Create Files / Write Data, Uncheck: Create Folders / Append Data I don't think it is possible with Unix or Samba permissions to: * allow file writes but deny file appends (and other modifications?). * allow creating files but deny creating folders.

Re: [Samba] Re: Write Once Read Many share with samba

2008-05-19 Thread Jack Downes
You could handle this outside of Samba with ACLs on your filesystem. Assuming you use ext3 for the filesys, there are some rather good acl tools for that. just a thought, Jack Brian May wrote: Jean-Yves Avenard wrote: On Windows : Check Create Files / Write Data, Uncheck: Create Folders /

Re: [Samba] Re: Write Once Read Many share with samba

2008-05-19 Thread Jean-Yves Avenard
Hi 2008/5/20 Brian May [EMAIL PROTECTED]: I don't think it is possible with Unix or Samba permissions to: * allow file writes but deny file appends (and other modifications?). * allow creating files but deny creating folders. which appears to be what you have done under windows. This was