-
Notifications
You must be signed in to change notification settings - Fork 119
Operation not permitted on macOS Catalina #109
Comments
Hello @gniezen @jorangreef , I ran into the same issue, it looks like the One thing still works though: Here are the changes I used (you probably only care about |
@zvin Prior to Catalina I was using a bash script launch daemon in Looking at this thread (https://forums.developer.apple.com/thread/123344) it appears that |
I'm having a problem with |
@seamusdemora Yes, for macOS Catalina, using the script @zvin linked to above. For earlier versions, Etcher uses sudo-prompt. @jorangreef Any chance you have bandwidth available to land @zvin 's script in sudo-prompt? |
Thanks @gniezen , I would love to but don't have the bandwidth with our lockdown at present. |
Hey all, do you know if this is still an issue on latest Catalina? There were some Catalina updates that introduced issues that were later fixed, e.g. see #127. |
AFAIK this is still an issue. I ended up implementing @zvin 's workaround to get things working. I'm currently on sabbatical, so the soonest I can test this on the latest version of Catalina will be at the beginning of October. |
Im currently running into the same issue, but was able to use the script above and giving executable permissions to the script. Would be really cool to get into this package. |
@lukepolo 👍 Are you seeing this issue using Etcher? If that's the case, I'm sorry to see this Issue remains unresolved. Further random & pointless comments: |
Nope not using etcher, needed it for an CLI tool im building. No worries, maybe one day I'll take a deeper look at it. Just don't have the time at the moment. |
I've actually taken the route of writing a driver extension for the device I'm targeting, so that it's just a regular USB device (instead of a block device) and then I'm using user-space code to talk to the device. The only holdup at the moment is that even though Apple approved the DriverKit entitlements for me to do this, they screwed up the provisioning profiles so it's still missing some entitlements, and they're not responding to follow-up requests. 🤷♂️ |
@gniezen 👍 Sounds par for the course with Apple... |
When attempting to do a
chmod a+rw
on/dev/rdisk2
, I get a permission denied error (Error: Unable to change file mode on /dev/rdisk2: Operation not permitted
) on macOS Catalina. If I do asudo chmod a+rw /dev/rdisk2
from the Terminal it works fine, so I'm not sure what's going on here.I doubt that it's SIP, as
/dev
is supposedly not part of the protected folders, and I can't find any special permission flags on/dev/rdisk2
. That said, the Electron app I'm running sudo-prompt from is notarized and running with full disk access, so I'm wondering if sudo-prompt needs to be somehow notarized separately?The text was updated successfully, but these errors were encountered: