PKGCONFIG permissions error #5626
Unanswered
crimsonfall
asked this question in
Getting started
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
-- For context, I am on a separate user account on my Mac, which I use daily, where I installed Brew using the .pkg, in which I used my admin credentials (my first account, not sudo) to complete the installation.--
I was able to successfully install Brew on my Mac, however when I tried to install any package, say "brew install rbenv", I get the same error message as shown in "brew doctor", where it complains that pkgconfig doesn't have the right permissions.
Upon checking /usr/local/, it does seem that the permissions for the Homebrew packages are just fine, as they show that my user does own them; it is just that specific program, which is currently owned by root.
Now I've seen similar issues where people suggested that they change ownership of /usr/local to their own user instead of root, however I am very hesitant to accept this solution due to security issues. Besides it is only that one file anyhow. Really my question is is it ok to set the ownership of pkgconfig to my user? I am just being cautious since I don't want to accidentally break anything on my system, or get any security issues.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions