Replies: 15 comments
-
Alternatively, I think it would be best to just have the program call |
Beta Was this translation helpful? Give feedback.
-
Use this udev rule and you won't need su privileges
|
Beta Was this translation helpful? Give feedback.
-
Thx for sharing this method. But i think it would be helpful for some users, if theres a hint in the readme or wiki for either using sudo or your solution. As mentioned, it gave me a very bad day :D and the solution was so obvious. |
Beta Was this translation helpful? Give feedback.
-
That is because there is a udev rule that comes bundled with libirecovery. In addition to the rule above it sets the owner and group access on the device, but it wasn't working for me. Seems the same happened in your case. I tinkered a bit and made it work by only changing the mode and saving it as 39-libirecovery.rules to override the existing one. |
Beta Was this translation helpful? Give feedback.
-
hm okay. I thought I was the problem. :D Maybe this "bug" happened to me too. |
Beta Was this translation helpful? Give feedback.
-
I mean... yeah, this probably needs to be kept open imho. Like at the very least |
Beta Was this translation helpful? Give feedback.
-
is this gonna become my job now |
Beta Was this translation helpful? Give feedback.
-
I was not aware of this. Is the udev rule not installed automatically when libirecovery is installed? @superrnovae |
Beta Was this translation helpful? Give feedback.
-
That depends on your distro, and |
Beta Was this translation helpful? Give feedback.
-
I have no idea how polkit and udev works; but if someone could provide a more in depth explanation of what blobsaver should do (like what CLI programs or C functions to call) I could add a way for blobsaver to automatically detect it and try to fix it. Or if there's a way to elevate permissions while blobsaver is already running that would work too. |
Beta Was this translation helpful? Give feedback.
-
What is the error message given when it fails due to incorrect/missing permissions? I can at least try to add a more detailed error message to explain possible solutions. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@Redecorating how did you install libirecovery? |
Beta Was this translation helpful? Give feedback.
-
I have it from the AUR:
It includes a udev rule, although I'm not too sure of how to check if this rule is changing the permissions of the usb device or not. |
Beta Was this translation helpful? Give feedback.
-
I'll move this to a discussion, since it doesn't seem like something that can be easily fixed. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
sorry, it might seem really dumb but i think it would be nice to have a hint in the Wiki under "blobsaver on Linux" or in the readme that its mandatory to use blobsaver on linux with su privilegs. If i had this Info (not your fault just my total braindeadness) it would have saved me a bad day yesterday because i got stuck in recovery mode. On Linux (Im using Fedora) blobsaver cant detect my Iphone (13 Pro Max) in recovery mode without su privilegs.
Thx for reading and greetings:)
Beta Was this translation helpful? Give feedback.
All reactions