programming-examples/perl/File/The chmod Function (UNIX).pl

13 lines
518 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
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