-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
puppet-homebrew always changes permissions to 755 on a ton of unrelated Homebrew files #62
Comments
This is related to #44 and needs more work. |
If that's correct behavior, then I'm fine with it; especially if it's likely to be fixed in homebrew core at some point. However, the reams of output are really hard to handle. Would it be possible to replace the puppet There are other hacks possible as well; a "single user mode" class parameter could be added to |
Moving to |
Thanks for looking into this @jordigg . I think another option would be to fine-tune the files we manage a bit more; clearly we don't need to Overall, I do prefer using |
I also need to find why files are reverted to it's original/default chmod |
Agreed. I assume this is a git thing; since brew's update process is to basically run Maybe we could parse |
On second thought, have we verified that group permissions are even necessary to run brew as a different user? There have been many brew changes since the article I based the original |
This should be fixed with #64 |
Fixed in #64 |
Confirmed fixed. Thanks so much! |
Sorry for the issue dump. This is the last one, I promise :)
Every time I run puppet with
class { homebrew: ...}
somewhere, even if Homebrew is already installed, I get a ton of output like:Notice: /Stage[main]/Homebrew::Install/File[/usr/local/Homebrew/.git/objects/69/db3754c4d5bc95d2c02c86299de29e1cd4b460]/mode: mode changed '0444' to '0775'
Whatever perms fixup is being done here probably doesn't need to be run every single time Puppet runs; just at initial bootstrap.
Also, some of the things being manipulated should probably not be: git internal files etc. should probably not be executable.
If the goal of the perms fixup inside the
homebrew::install
class is to get ownership correct, it might be better to manage owner/group, rather than perms, and trust the Homebrew installer to get those right. I don't really know if that's what's being done, though.Thanks!
The text was updated successfully, but these errors were encountered: