10-05-2022, 03:35 PM
(10-05-2022, 03:05 PM)Phosphoric Wrote:(10-05-2022, 10:55 AM)Tim Curtis Wrote: 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
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
Thanks Tim, but as my first post, the smb.conf files are exactly the same in ver.7.6x and ver. 8.xx 7.6x works perfectly 8xx won't.
Right but the debug needs to happen using your 8 system.
Try mounting the share manually from your Mint box. Below is what a mount string looks like when creating an SMB Music Source config in moOde. Note that the default is to mount using "ro" (read-only). You would need to change to "rw".
Example:
Code:
Code:
mount -t cifs "//TRX/VFAT128/FLAC" -o username="Guest",password="",rsize=61440,wsize=65536,iocharset=utf8,vers=3.1.1,ro,noserverino,dir_mode=0777,file_mode=0777 "/mnt/NAS/TRX-SMB-FLAC"
I ran a quick test on using "rw" and no issues writing to "/mnt/NAS/TRX-SMB-FLAC" in the above example.
Also, in a previous post do I understand correctly that you tried sudo on your moOde 8 system and it did not work?