macprefs
macprefs copied to clipboard
Permission problems with system LaunchAgent/Daemons
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.
Looks like this project is abandoned, it would be nice to be able to skip non readable objects