I cannot create files and directories of the root folder of a mounted Samba share on my Pi4. I am 98% certain that this is a client-side issue with the Pi4 and not a server configuration problem for two reasons:
- I can create new folders in the root of the share from my Mac
- Once inside a folder, I can create, modify, & delete folders & files as I please.
fstab line is
//192.168.0.15/music /media/music cifs user,credentials=/usr/local/etc/whisper.credentials,uid=1000,file_mode=0664,dir_mode=0775,gid=adm,x-systemd.automount 0 0
The folder permissions on the mount folder say that I should have access to modify the files of the share's root folder. However, I can't create a test folder even with sudo.
mkdir /media/music/testfails with "Permission denied", even with sudo on the Pi4. Its equivalent command works flawlessly with my Mac as the client.
rm /media/music/Fiona_Apple/test.fileworks on the Pi and my Mac.