I'm trying to mount an external volume:
/bin/mkdir -p /Volumes/share
/sbin/mount -o nosuid,-d=777 -t smbfs //user:[email protected]/share /Volumes/share
The script runs as a Daemon, no error. The share is visible from Console (whith root privileges) and the mounted share has all privileges enabled:
drwxrwxrwx 1 root wheel 16384 2 jan 21:19 share
However I cannot even list the content ls
of the mounted share unless I use root privileges. It's this normal?
This problem appeared only after upgrading from High Sierra to Catalina and I wonder if the later is more restrictive and how to make it work.
Edit 1: this is the result of mount | grep share
:
//[email protected]/share on /Volumes/share (smbfs, nosuid)