Cannot access a network volume when connected to Mac via SSH
This appears to be a new problem in MacOS Ventura 13.3. If I mount a network volume (in this case using mount_smbfs), I am able to access its contents when using the Terminal.app (after giving Terminal access to "Network Volumes" in a pop-up). However, when I connect to Mac remotely via SSH using the same user account, I can not access the same network volume. I get:
% whoami
itstaff
% mount | grep macos
//DOMAIN;user@host.example.com/Software/MacOS on /Users/itstaff/macos (smbfs, nodev, nosuid, read-only, mounted by itstaff)
% ls macos
ls: macos: Operation not permitted
However, if I run the same "ls" command from a local Terminal.app window, I can see the contents just fine. Does anyone know if there is a way to give this remote session the ability to access "Network Volumes".
It makes no difference if I mount the network volume from the SSH session or from the local Terminal.
Thanks all!