Skip to content

Instantly share code, notes, and snippets.

@bdwyertech
Created January 7, 2016 06:22
Show Gist options
  • Save bdwyertech/454393a863f836fa132c to your computer and use it in GitHub Desktop.
Save bdwyertech/454393a863f836fa132c to your computer and use it in GitHub Desktop.
hombrew-cask busted permissions
dev-mac:Homebrew root# ls -lah
total 286584
drwxrwxr-x 18 vagrant admin 612B Jan 6 22:00 .
drwxrwxrwt 7 root admin 238B Jan 6 21:57 ..
drwxr-xr-x 2 root admin 68B Jan 6 22:00 Casks
drwxr-xr-x 7 vagrant admin 238B Jan 6 21:59 Formula
@bdwyertech
Copy link
Author

@bdwyertech
Copy link
Author

And I blame this for why it continuously sets the wrong user... Cask does not look at ENV['USER'] at all
https://github.com/caskroom/homebrew-cask/blob/master/lib/hbc.rb#L62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment