diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb index 9907745d5c..7fd116a901 100644 --- a/Library/Homebrew/cleaner.rb +++ b/Library/Homebrew/cleaner.rb @@ -46,6 +46,13 @@ class Cleaner else 0444 end + # Uncomment this block to show permission changes using brew install -v + # if ARGV.verbose? + # old_perms = path.stat.mode + # if perms != old_perms + # puts "Fixing #{path} permissions from #{old_perms.to_s(8)} to #{perms.to_s(8)}" + # end + # end path.chmod perms end