Hannes Schmidt
2002-Sep-29 22:48 UTC
[Samba] How to let users create/delete files but not dirs
Hi, the subject says it all. I want to allow my Windows users to create and remove files in a particular directory on my Samba share, but they should not be able to create or delete sub-directories of that directory. The reason for this is that I do not want users to mess up the directory structure on that share, which happens just too often right now - thanks to drag and drop. I looked at various ACL implementations and file systems incl. Samba's ACL emulation but they all seem to support the rwx type of permissions only. The problem is that rwx doesn't make a difference between subdirs and files in a directory. Any ideas?
David Morel
2002-Sep-30 08:11 UTC
[Samba] How to let users create/delete files but not dirs
On Mon, 2002-09-30 at 00:49, Hannes Schmidt wrote:> Hi, > > the subject says it all. I want to allow my Windows users to create and > remove files in a particular directory on my Samba share, but they should > not be able to create or delete sub-directories of that directory. The > reason for this is that I do not want users to mess up the directory > structure on that share, which happens just too often right now - thanks to > drag and drop. > > I looked at various ACL implementations and file systems incl. Samba's ACL > emulation but they all seem to support the rwx type of permissions only. The > problem is that rwx doesn't make a difference between subdirs and files in a > directory. Any ideas? > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/sambamake directories owned by a user who can't log in, group users, chmod 4770 (sticky bit set) and you're done
Reasonably Related Threads
- A windows user can create a file, but cannot delete
- Write access doesn't grant delete access?!
- Group with RWX acl cannot delete as file/dir owned by user with RWX
- HasNewVoicemail does not find voicemailbox, but files exist
- Group with RWX acl cannot delete as file/dir owned by user with RWX