I am attempting to get automount for an SMB share working on macOS Sequoia 15.7.3. However, this is getting an “Operation not permitted” error when attempting to access the mount point. Does anyone have suggestions on how to address this issue?
% ls /mnt/music-library/shelf/
ls: /mnt/music-library/shelf/: Operation not permitted
% sudo ls /mnt/music-library/shelf/
ls: /mnt/music-library/shelf/: Operation not permitted
Configuration
SIP is disabled:
% csrutil status
System Integrity Protection status: disabled.
The mount can be done manually:
% mount_smbfs -d 0555 -f 0444 //music:[email protected]/shelf /tmp/test/
/etc/auto_master:
+auto_master # Use directory service
/- -static
/- auto_shares -nosuid,noowners
/etc/auto_shares:
/System/Volumes/Data/mnt/music-library/shelf -fstype=smbfs,credentials=/etc/smb_music_credentials,file_mode=0444,dir_mode=0555 ://osprey.local/shelf
automount:
% sudo automount -vc
automount: /System/Volumes/Data/mnt/music-library/shelf updated
automount: no unmounts
Full Disk Access granted to:
- Terminal
/usr/libexec/automountd/usr/libexec/autofsd/usr/sbin/automount
