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

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

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.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more