Flowdock
method

chmod

Importance_1
chmod(mode, list, options = {}) public

Options: noop verbose

Changes permission bits on the named files (in list) to the bit pattern represented by mode.

FileUtils.chmod 0755, 'somecommand'
FileUtils.chmod 0644, %w(my.rb your.rb his.rb her.rb)
FileUtils.chmod 0755, '/usr/bin/ruby', :verbose => true
Show source
Register or log in to add new notes.