我有一个 exFAT 外部磁盘,我想通过 Samba 共享其内容。
对于阅读来说一切都正常,但对于写作我收到一条消息说我没有权限。
这是我的 smb.conf
[global]
workgroup = WORKGROUP
server string = %h server (Samba, XBMC)
netbios name = XBMCbuntu
dns proxy = no
name resolve order = hosts wins bcast
guest account = xbmc
load printers = no
show add printer wizard = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
invalid users = root
[Movies]
path = /media/Movies
comment = Video's and Movies Folder
writeable = yes
browseable = yes
guest ok = yes
read only = no
答案1
尝试这个:
打开终端,
按Ctrl++AltT
运行:
exec sudo -i
apt-get update
apt-get dist-upgrade
apt-get install --reinstall exfat-fuse exfat-utils
chmod -Rf 777 /media/Movies