[meta] add task for fixing permissions for multiuser homebrew

pull/28/head
Alpha Chen 5 years ago
parent 8246ce2ab6
commit 338c57d25d

@ -108,3 +108,12 @@ namespace :pave do
end
end
end
namespace :brew do
desc "Fix homebrew permissions for multi-user"
task :multiuser do
sh "sudo chmod -R g+w $(brew --prefix)/*"
sh "sudo chgrp -R homebrew $(brew --prefix)/*"
end
end

Loading…
Cancel
Save