method

chmod_R

v1_9_3_125 - Show latest stable - Class: FileUtils
chmod_R(mode, list, options = {})
public

Options: noop verbose force

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

FileUtils.chmod_R 0700, "/tmp/app.#{$$}"
FileUtils.chmod_R "u=wrx", "/tmp/app.#{$$}"