Skip to content

Conversation

SuperTux88
Copy link
Contributor

If the global config is owned by root, we can assume that the whole dotfiles repo is owned by root and running as root is fine then, as it's not a problem if the cache is also owned by root. So there is no need to print a warning in this case.

Also, the check only need to run on unix.

If the global config is owned by root, we can assume that the whole
dotfiles repo is owned by root and running as root is fine then, as it's
not a problem if the cache is also owned by root.

Also, the check only need to run on unix.
@SuperCuber
Copy link
Owner

Looks good! Thanks for the contribution :)

@SuperCuber SuperCuber merged commit 8b722d0 into SuperCuber:master Aug 3, 2023
@SuperTux88 SuperTux88 deleted the allow-running-as-root-without-warning branch August 3, 2023 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants