The chmod Function (UNIX) : chmod « File « Perl






The chmod Function (UNIX)

     


Octal   Binary       Permissions            Meaning
0       000          none                   All turned off
1       001          --x                    Execute
2       010          -w-                    Write
3       011          -wx                    Write, execute
4       100          r--                    Read
5       101          r-x                    Read, execute
6       110          rw-                    Read, write
7       111          rwx                    Read, write, execute

   
    
    
    
    
  








Related examples in the same category

1.The chmod function modifies the read, write, and execute permissions on a file.
2.Apply chomp to all elements of an array
3.The chmod Function (Windows)
4.Change a file's permissions?