ejectify-macos icon indicating copy to clipboard operation
ejectify-macos copied to clipboard

Ejectify seems to fail working with non-admin accounts

Open olidevelop opened this issue 2 years ago • 7 comments

With a standard account (macOS 13.1) Ejectify neither unmounts a volume on sleep nor mounts it again after wakeup (did unmount manually in Finder before). Choosing "Unmount" from menu works, strange.

olidevelop avatar Dec 17 '22 07:12 olidevelop

Since unmounting from the menu works fine, it's likely unrelated to privileges. Can you check this FAQ (specifically the Console part) to see if that gives any pointers on why Ejectify fails?

nielsmouthaan avatar Dec 17 '22 15:12 nielsmouthaan

I did some more investigations:

  • Ejectify works with standard account and unmount when "Screensaver started", but NOT with "System starts sleeping" (even with force unmount enabled)
  • Ejectify works as expected with an admin account
  • There are no "Dissenter status" messages in the log

It seems to me it's a standard account related issue.

olidevelop avatar Dec 18 '22 05:12 olidevelop

OK, I'll look into this for Ejectify 2.0. I expect Ejectify needs to run with administrator rights. Would it be an issue to grant Ejectify those rights (initially)?

nielsmouthaan avatar Dec 19 '22 09:12 nielsmouthaan

It would be an issue for me to work with an admin account, for security reason I'd prefer not to do. What do you mean with granting admin rights to Ejectify?

olidevelop avatar Dec 19 '22 09:12 olidevelop

Could you, as an administrator, grant Ejectify administration rights to a normal user? Obviously, this should only be done once, either when installing or running for the first time.

nielsmouthaan avatar Dec 19 '22 10:12 nielsmouthaan

Sorry, I don't know how to do this.

olidevelop avatar Dec 19 '22 12:12 olidevelop

OK, no worries. I'll test this out when I look into this when I start working on 2.0

nielsmouthaan avatar Dec 20 '22 07:12 nielsmouthaan