From c0b84a0479562edd0bb56b3d915fda9f90a520da Mon Sep 17 00:00:00 2001 From: Vítor Galvão Date: Sat, 28 Jan 2017 16:25:14 +0000 Subject: cask: staged: no sudo in set_permissions --- Library/Homebrew/cask/lib/hbc/staged.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cask/lib') 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") -- cgit v1.2.3