All Right folks, you know computer stuff isn’t really simple as you think such a permission attributes is existed controlled by technology called File System which determine if files nor directory has permission and the Operating System will obey the file system rules. Unix-like and otherwise POSIX-compliant systems, including Linux-based systems and all macOS versions, have a simple system for managing individual file permissions.
Most Unix-like nor Linux used program called chmod which used to manipulate permission attributes like another utility tools we told before in this article.
Symbolic Notation | Numeric Notation | English |
---|---|---|
---------- | 0000 | no permissions |
-rwx------ | 0700 | read, write, & execute only for owner |
-rwxrwx--- | 0770 | read, write, & execute for owner and group |
-rwxrwxrwx | 0777 | read, write, & execute for owner, group and others |
---x--x--x | 0111 | execute |
--w--w--w- | 0222 | write |
--wx-wx-wx | 0333 | write & execute |
-r--r--r-- | 0444 | read |
-r-xr-xr-x | 0555 | read & execute |
-rw-rw-rw- | 0666 | read & write |
-rwxr----- | 0740 | owner can read, write, & execute; group can only read; others have no permissions |