Change file permissions with Ruby
You can say
File.chmod(0604, '/path/to/file') # rw----r--
The leading zero is meaningful.
Henning Koch
2011-07-21
This website uses short-lived cookies to improve usability.
Accept
or
learn more