macprefs icon indicating copy to clipboard operation
macprefs copied to clipboard

Permission problems with system LaunchAgent/Daemons

Open helgi opened this issue 6 years ago • 1 comments

I was migrating from a somewhat more relaxed laptop setup to a new one that has a few security tools on it and I had problems when macprefs was trying to chown on /Library/LaunchAgents

https://github.com/clintmod/macprefs/blob/master/startup_items.py#L45-L56

I'm able to chown the directory by hand when I omit -R and on most .plist items but anything owned by the security tools in question prevented me from doing a chown, even if it was to the same user/group it already had (root:wheel) that macprefs is trying to apply.

Makes me wonder if it is best to only chown the files that macprefs copied over? Or fail but warn, not totally bail out of macprefs, this would, however, need a file list to chown on instead of a full dir.

helgi avatar Nov 14 '18 21:11 helgi

Looks like this project is abandoned, it would be nice to be able to skip non readable objects

frmz avatar Aug 02 '19 11:08 frmz