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!

Posted on Mar 31, 2023 8:42 AM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot access a network volume when connected to Mac via SSH

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.