Open patkaehuaea opened 7 years ago
Thanks for providing that workaround, @patkaehuaea. It seems like something that might make sense to fix upstream as you mentioned. I don't have bandwidth right now to pursue the fix, but I'm happy to add vocal support to an upstream fix for the homebrew cookbook.
@oifland ... https://github.com/chef-cookbooks/homebrew/issues/110
Given they're already setting owner on a similar directory (that doesn't appear to exist for me), I don't see why we couldn't the directory I'm having to update.
I'm able to run bootstrap.rb, but it appears I fail when installing I get permissions errors writing to:
~/Library/Caches/Homebrew/Cask/atom
The workaround is to simply:
$ sudo chown -R $USER ~/Library/Caches/Homebrew/
While the workaround is easy, it leads to a less streamlined bootstrap as the user needs to identify the issue, then apply the workaround.
What are your thoughts about where to implement a fix? Is there something we can do in this cookbook or do we pursue a fix here?:
https://github.com/chef-cookbooks/homebrew/blob/master/recipes/cask.rb