[Samba] How to let users create/delete files but not dirs

David Morel david.morel at amakuru.net
Mon Sep 30 08:11:01 GMT 2002

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/samba

make directories owned by a user who can't log in, group users, chmod
4770 (sticky bit set) and you're done

More information about the samba mailing list