Skip to content

Permission problems with system LaunchAgent/Daemons #5

@helgi

Description

@helgi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions