smb share is not writeable even with 777 permissions and umask 777
I've been working on this for a few days (5) and come to an impasse.
A Mac mini server sharing two volumes: PlexMedia_1, PlexMedia_2
I can use the mv command to move files between both network shares while on the client, but an application I use, FileBot, is not able to move files between those two volumes.
It gets a permissions error:
MOVE: Access Denied: /Volumes/PlexServer_2 (rwxr-xr-x 0:0 Volumes)
The successful mv command:
at iMacEth ~ logfile=$$.log
at iMacEth ~ mv /Volumes/PlexMedia_1/Plex/pTemp/Panorama.2023.10.23.At.War.Crisis.in.the.Middle.East /Volumes/PlexMedia_2/Plex/pTemp > $logfile 2>&1
The log file is zero bytes/empty, and the file is moved without issue because I am owner... I guess.
Additional info
I changed mask settings on the server for these SharePoints using Directory Utility.app
dsAttrTypeNative:smb_createmask 777
was 644
dsAttrTypeNative:smb_directorymask 777
was 755
permissions on both volumes
john@Mac-mini ~ % ls -ale /Volumes/PlexMedia_1
total 64
drwxrwxrwx@ 10 john staff 408 Oct 26 20:42 .
drwxr-xr-x 9 root wheel 288 Oct 26 20:32 ..
drwxrwxrwx 9 john staff 306 Oct 26 20:26 Plex
john@Mac-mini ~ % ls -ale /Volumes/PlexMedia_2
total 32
drwxrwxrwx@ 10 john staff 408 Oct 26 20:43 .
drwxr-xr-x 9 root wheel 288 Oct 26 20:32 ..
drwxrwxrwx 5 john staff 170 Oct 26 20:14 Plex
Still, on the client/iMac when creating a new folder its permissions end up like so:
20:24:52.596 at iMacEth ~ ls -ale /Volumes/PlexMedia_1/untitled\ folder
total 64
drwxr-xr-x 1 john staff 16384 Oct 26 20:48 .
drwxrwxrwx@ 1 john staff 16384 Oct 26 20:48 ..
I think I want them to be like so... would this allow the application to move files?
20:24:52.596 at iMacEth ~ ls -ale /Volumes/PlexMedia_1/untitled\ folder
total 64
drwxrwxrwx 1 john staff 16384 Oct 26 20:48 .
drwxrwxrwx@ 1 john staff 16384 Oct 26 20:48 ..
Guest access is on for both volumes. I have connected to the server using Go-> Connect to server...
smb://guest@mac-mini.local
smb://john@mac-mini.local
smb://192.168.5.1
I have tried using the mount command but authentication constantly fails:
at iMacEth ~ mount -v -t smbfs -o nosuid,-d=777 //john@192.168.10.143 /Users/john/Volumes
Password for 192.168.10.143:
mount_smbfs: server rejected the connection: Authentication error
mount: /Users/john/Volumes failed with 77
at iMacEth ~ mount -v -t smbfs -o nosuid,-d=777 //192.168.10.143 /Users/john/Volumes
Password for 192.168.10.143:
mount_smbfs: server rejected the connection: Authentication error
mount: /Users/john/Volumes failed with 77
at iMacEth ~ mount -v -t smbfs -o nosuid,-d=777 //guest@192.168.10.143 /Users/john/Volumes
mount_smbfs: mount error: /Users/john/Volumes: No such file or directory
mount: /Users/john/Volumes failed with 64
Is there an ACL that is required that I am missing?
😩
iMac 27″, macOS 14.1