【问题标题】:Samba share inside other samba share其他 samba 共享中的 Samba 共享
【发布时间】:2022-11-10 07:24:27
【问题描述】:

有没有办法将 samba 共享放在其他 samba 共享中?我有一个对所有用户都具有读写权限的共享,我想在其中放置具有只读权限的目录。

我试过这个:

[allusers]
writable = yes
path = /home/company/allusers
force group = users
comment = Directory for all
valid users = @users
read only = No
create mode = 0660
directory mode = 0770

[list]
writable = yes
path = /home/company/allusers/list
force group = users
comment = List of computers
valid users = @users
read only = yes
create mode = 0660
directory mode = 0770

但是没有效果......

【问题讨论】:

    标签: samba


    【解决方案1】:

    以这种方式填充两个共享应该没有问题。

    但是,[list] 不会是只读的,因为您的writableread only 是冲突的(实际上它们是inverted synonyms)。因此,设置 writable = noread only = yes 将解决您的问题。

    【讨论】:

      猜你喜欢
      • 2013-11-20
      • 1970-01-01
      • 2011-09-26
      • 1970-01-01
      • 1970-01-01
      • 2010-09-07
      • 2023-03-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多