Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

karos

macrumors newbie
Original poster
Jul 19, 2002
4
0
mount a share like this:

sudo open smb://user:password@NAS/share


navigate to share

cd share



try to list contents

ls
ls: .: Operation not permitted
 

chrfr

macrumors G5
Jul 11, 2009
13,728
7,302
mount a share like this:

sudo open smb://user:password@NAS/share


navigate to share

cd share



try to list contents

ls
ls: .: Operation not permitted
You need to grant Terminal either full disk access or access to network volumes in the Security and Privacy system preference.
 
  • Like
Reactions: Brian33
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.