Skip to content

Brew installed as root #18

Description

@clintonb

This is more of an FYI. If https://github.com/kandji-inc/support/blob/e631d21a71cdcba65e69aff77388743301f9548a/Scripts/InstallHomebrew.zsh is run before a user is created, /opt/homebrew will be owned by root, and unusable by other users. It would be ideal (IMO) if the script errored instead of installing for root, which is probably never(?) desirable.

The fix on my end is to ensure the script only runs after the user has been created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions