Method: FileUtils.chmod_r

Defined in:
lib/gonzui/util.rb

.chmod_r(mode, *paths) ⇒ Object



91
92
93
94
95
# File 'lib/gonzui/util.rb', line 91

def chmod_r(mode, *paths)
  Find.find(*paths) {|path|
    File.chmod(mode, path) if !File.symlink?(path)
  }
end