aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib
diff options
context:
space:
mode:
authorVítor Galvão2017-01-28 16:25:14 +0000
committerVítor Galvão2017-01-28 18:29:59 +0000
commitc0b84a0479562edd0bb56b3d915fda9f90a520da (patch)
tree14f281cf98b5cf3d7079c117f6b01eef04ffe2e5 /Library/Homebrew/cask/lib
parentad4fd014e1e558207d4eecdafe8667ecba5a8f51 (diff)
downloadbrew-c0b84a0479562edd0bb56b3d915fda9f90a520da.tar.bz2
cask: staged: no sudo in set_permissions
Diffstat (limited to 'Library/Homebrew/cask/lib')
-rw-r--r--Library/Homebrew/cask/lib/hbc/staged.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/staged.rb b/Library/Homebrew/cask/lib/hbc/staged.rb
index dcc05ef5d..c1aa01b29 100644
--- a/Library/Homebrew/cask/lib/hbc/staged.rb
+++ b/Library/Homebrew/cask/lib/hbc/staged.rb
@@ -27,7 +27,7 @@ module Hbc
full_paths = remove_nonexistent(paths)
return if full_paths.empty?
@command.run!("/bin/chmod", args: ["-R", "--", permissions_str] + full_paths,
- sudo: true)
+ sudo: false)
end
def set_ownership(paths, user: current_user, group: "staff")