Read more

Change file permissions with Ruby

Henning Koch
July 21, 2011Software engineer at makandra GmbH

You can say

File.chmod(0604, '/path/to/file') # rw----r--
Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show archive.org snapshot

The leading zero is meaningful.

Posted by Henning Koch to makandra dev (2011-07-21 14:59)