cleaner: fix permission debug output
This commit is contained in:
parent
0bb7c4d3ed
commit
e480206464
@ -53,7 +53,7 @@ class Cleaner
|
|||||||
0444
|
0444
|
||||||
end
|
end
|
||||||
if ARGV.debug?
|
if ARGV.debug?
|
||||||
old_perms = path.stat.mode
|
old_perms = path.stat.mode & 0777
|
||||||
if perms != old_perms
|
if perms != old_perms
|
||||||
puts "Fixing #{path} permissions from #{old_perms.to_s(8)} to #{perms.to_s(8)}"
|
puts "Fixing #{path} permissions from #{old_perms.to_s(8)} to #{perms.to_s(8)}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user