"Sticky" bit with samba, is it possible?

Martin Stuij mstuij1 at chello.nl
Thu Oct 25 11:17:06 GMT 2001


I have tried a lot but it still works not perfect

The start directory of the share is: /samba/public

It has the rights:

drwxr-x--T   8 martin   users         281 okt 25 20:32 public

Now all subdirectories made with Windows must be have the next rights:

rwxrwx--T

and all files created with windows must have the next rights:

rwxr----


Is this possible?







-----Oorspronkelijk bericht-----
Van: samba-admin at lists.samba.org
[mailto:samba-admin at lists.samba.org]Namens Giulio Orsero
Verzonden: donderdag 25 oktober 2001 9:09
Aan: samba at lists.samba.org
Onderwerp: Re: "Sticky" bit with samba, is it possible?


On Wed, 24 Oct 2001 23:10:36 +0200, you wrote:

>The Sticky bit is set now but when I make a new file (from windows) the rwx
>are:
>rwxrw----
>It should be: rwxr-----
>This is the smb.conf:
>[Public]
>comment = Everybody can make directories and files in this directory
>path = /samba/public
>public = no
>read only = no
>browseable = yes
>inherit permissions = yes
>force create mask = 0750
>force directory mask = 1770
>force group = users
>What is wrong?

don't know, but "force.." won't do what you expect if you do not set
"create.."
too.

create mask = xxxx
force create mask = xxxx

"force create mask" cannot subvert "create mask".

--
giulioo at pobox.com

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba






More information about the samba mailing list