我的 Samba 服务器上的读/写权限有问题,如何修复 smb.conf 和文件权限以获得更统一的访问权限?
配置文件
[global]
workgroup = workgroup
netbios name = LnxNAS
server string = %h
wins support = no
dns proxy = no
security = user
encrypt passwords = yes
panic action = /usr/share/samba/panic-action %d
[homes]
comment = Home Directories
[Video]
path = /data/eric/Videos
[Music]
path = /data/eric/Music
[Pictures]
path = /data/eric/Pictures
[data]
path = /data
writeable = Yes
Run Code Online (Sandbox Code Playgroud)
我的 ls -l of /data/eric/Pictures
drwxrwxrwx 2 ericfoss root 4096 2011-03-13 22:09 Android Projs
drwxrwxrwx 3 ericfoss root …
Run Code Online (Sandbox Code Playgroud)