![Samba 权限问题](https://linux22.com/image/1156769/Samba%20%E6%9D%83%E9%99%90%E9%97%AE%E9%A2%98.png)
我正在配置 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
但没有工作
谢谢