[Samba] fine grain perms

Michael Paarmann mp at squit.de
Wed Feb 12 01:25:51 GMT 2003


Hi!


>What I mean is;
>
>dir /a/b/c/d
>
>condition;
>1) dir abc cannot be deleted
>2) dir d can be deleted
>3) files in dir ab cannot be deleted
>but can be created
>4) files in dir cd can be deleted
>
>As a work around I've created an empty tree structure
>(a sort of template) and have just renamed the dirs
>while maintaning the custom perms.
>
>Would be nice if it were dynamic.

I have nearly the same problem. But, sorry, i don't have real solution for 
this. I try to set the permissions with the unix rights. In addition to 
"create mask" and "directory mask" i use the sticky bits to realize my 
permission structure. It's sad to say, but i think, that this is a real big 
disadvantage of Samba. If you try to set a complex permission structure, 
it's a very difficult work. With Windows or especially Novell it's much 
more easier, i think.

Michael   



More information about the samba mailing list