SMB create mask has no effect

  • Hi,


    I set this two advanced options in my SMB configuration


    Code
    create mask = 0600
    directory mask = 0700


    but when i look in the share new create files and directories have the default user acc-rights:


    Code
    root@OMV:/media/ce861792-b1fb-42a3-a229-22bd9bc2e811/MServ# ls -l
    drwxr-xr-x 2 MServ users 4096 Jul 26 18:34 test dir
    -rwxr--r-- 1 MServ users 3625 Jul 24 18:55 test file.txt


    For any reason this extra options are totally ignared. Anyone has an idea how to fix this?


    Greetings


    Monchi

    • Offizieller Beitrag

    Add:

    Code
    force create mode = 0600
    force directory mode = 0700

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

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