是否有任何方法可以允许只读访客访问共享,同时还提供写入列表以允许某些用户修改其内容?
如果可能的话,我不想使用文件和目录权限。
它可能类似于:
[share]
path = /some/path
valid users = @somegroup guest
read list = @somegroup guest
write list = @somegroup
答案1
任何人都可以阅读,但只能@group
写入:
[Some Share]
path = /path/to/some/share
guest ok = yes
writeable = no
write list = @group
仅@group
可读写:
[Some Other Share]
path = /path/to/some/other/share
guest ok = no
writeable = no
write list = @group
valid users = @group