
或者说 samba 个目录下的指定的子目录
目前共享的目录结构
ll /share AA/ BB/ CC/ DD/ EE/ FF/ #全都为文件夹 想要在共享 share 文件夹 的前提下实现普通用户看不到也访问不了 AA 这个子文件夹,指定的用户可以访问全部文件夹
目前的配置
config file = /etc/samba/conf.d/%U [share] comment = XXX path = /share public = no browsable = yes read Only= yes conf.d 下的子配置
[share] comment = XXX path = /share public = no browsable = yes writable = no write list = XXX 之前想的是在主配置文件的 path 上写上一个其他的目录,将真实目录想要共享出去的子目录做个软链接,但发现普通用户只能看到文件夹无法进入
1 tuding 2020-12-22 11:28:33 +08:00 via Android 用 setacl,可以看到,但是不能访问 |
2 omph 2020-12-22 15:48:16 +08:00 smb 支持软链接? [global] allow insecure wide links = yes [share] follow symlinks = yes wide links = yes |