Directory Mask not working

  • Hello together,


    I have the problem that the mask for creating directories is not applied to all users. The problem does not occur when creating files. Below is a minimal example with two users, where the mask is ignored for the folder "folder_created_by_isa" created by the user "isa". I followed the guide from gderf (samba-cifs-file-and-directory-creation-permissions).


    Unfortunately I don't know any more, maybe someone of you has an idea, if at another place the rights could be overwritten


    Best regards,


    Stefan


    Code
    ls -al
    drwxrwx---+  4 root   users 4096 Sep 22 21:35 .
    drwxrwx---+ 23 root   users 4096 Sep 22 20:45 ..
    -rwxrwxr--+  1 isa    users  220 Sep 22 21:34 file_created_by_isa.rtf
    -rwxrwx---+  1 stefan users    0 Sep 22 21:35 file_created_by_stefan.rtf
    drwxr-xr-x+  2 isa    users 4096 Sep 22 21:33 folder_created_by_isa
    drwxrws---+  2 stefan users 4096 Sep 22 21:34 folder_created_by_stefan


    Share Extra options

    Code
    create mask = 0770
    directory mask = 2770
    force create mode = 0770
    force directory mode = 2770


    Share Configuration


  • Solved by following cifs/samba global extra options (client was OS X):


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!