It seems that when the clients (and the server) use Unix extensions, the
"force create mode" (and maybe "force directory mode"?) setting is
completely ignored.

I have a Samba 3.2.5 server that is accessed from Windows and Linux.

One share is configured as follows:


[foto]
        comment = Galleria fotografica
        path = /ud0/foto
        create mask = 0775
        read only = No
        directory mask = 0775
        force directory mode = 0775
        force create mode = 0664
        map system = Yes
        map hidden = Yes
        dos filemode = Yes

When a Windows client writes a file to this share, the file gets the
correct permissions (664). When a Linux client writes to this share, the
permissions are set from the client (in my case the default is 660). 

This is wrong because I need 664 on this share.

If I disable Unix Extensions on the server, the "force" settings are
enforced correctly.


Is this a bug or is it the intended behaviuor? Is there a way to force
permissions even when files are accessed from a Linux client that uses
Unix extensions?


Thanks



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

Reply via email to