Winxp 来宾无法在共享 samba 驱动器上创建文件或文件夹。
我该如何修复它?我收到“访问被拒绝”并且 sudo chown 不会更改权限。
这是 fat32 SD 卡 fstab:
/dev/mmcblk0p1 /media/card auto auto,rw,async,user,nofail 0 0
这是 testparm 部分:
[global]
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
preferred master = Yes
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[share]
comment = Samba share
path = /media
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes
C-: