Samba 权限问题

Samba 权限问题

我正在配置 Samba 共享。我希望文件夹 1 有 777 和子文件夹 755,但它不起作用

[folder1]
    comment= share folder
    path = /srv/samba/folder1
    browsable = yes
    read only = no
    guest ok = yes
    writable = yes
    create mask = 777
    create directory mask = 777
    force create mode = 777
    force directory mode = 777


[folder2]
    path = /srv/samba/folder1/folder2
    browsable = no
    read only = no
    guest ok = yes
    writable = yes
    create mask = 755
    force create mask = 755
    directory mask = 755
    force directory mask = 755

当我在 folder2 上创建新文件夹时,它获得 777 权限

我试图对文件夹 1 进行评论;强制创建模式 = 777 强制目录模式 = 777

但没有工作

谢谢

相关内容