DEV Community

Cover image for OSX Sequoia & Operation not permitted (os error 1)
Michal Bryxí
Michal Bryxí

Posted on

6

OSX Sequoia & Operation not permitted (os error 1)

With new, granular set of permission rights comes ... a bit of pain.

The problem

After upgrading to OSX Sequoia my terminal of choice - Warp started having weird seemingly permission-like issues. Even simple operations like ls sometimes failed with Operation not permitted (os error 1):

ls /Volumes/BACKUP/
"/Volumes/BACKUP/": Operation not permitted (os error 1)
Enter fullscreen mode Exit fullscreen mode

But other apps like Finder had no problem accessing said folder.

The solution

Eventually I noticed that the issue happened always when I tried to access data on an USB thumb drive. Remembering that apps in newer OSX do not have permission to just access disk willy nilly, I opened: System Settings -> Privacy & Security -> Full Disk Access, changed the toggle for Warp to enabled and let the app reboot. And voila! Now it works again.

OSX settings - Privacy & Security - Full Disk Access

Top comments (2)

Collapse
 
hyperbole profile image
Carl Reynjolds

Thanks, that's exactly what I needed. Very clear, and concise description.

Collapse
 
bertheyman profile image
Bert Heyman

Thanks a lot!
Very helpful, as this is OS version specific.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up