10-05-2022, 10:55 AM
Even with sudo you can't write to the drive?
Try the mount manually with rw and userid=Guest
Samba shares are specified in the file /etc/samba/smb.conf.
Default access control for each share is:
read only = No
guest ok = Yes
And the SMB server proxies as root to access whats behind a share
guest account = root
Try the mount manually with rw and userid=Guest
Samba shares are specified in the file /etc/samba/smb.conf.
Default access control for each share is:
read only = No
guest ok = Yes
And the SMB server proxies as root to access whats behind a share
guest account = root
Code:
pi@moode:~ $ cat /etc/samba/smb.conf
[global]
server string = Moode SMB Server
multicast dns register = no
security = User
map to guest = Bad User
guest account = root
log level = 0
load printers = No
printcap name = /dev/null
disable spoolss = Yes
printing = bsd
preferred master = No
local master = No
domain master = No
dns proxy = No
create mask = 0775
directory mask = 0775
browseable = Yes
veto files = /._*/.DS_Store/
delete veto files = yes
[NAS]
comment = NAS Shares
path = /mnt/NAS
read only = No
guest ok = Yes
[Playlists]
comment = Playlist Directory
path = /var/lib/mpd/playlists
read only = No
guest ok = Yes
[SDCard]
comment = SDCARD Storage
path = /mnt/SDCARD
read only = No
guest ok = Yes
[VFAT128]
comment = USB Storage
path = /media/VFAT128
read only = No
guest ok = Yes