|Owner Rights (u)||Group Rights (g)||Others Rights (o)|
Use the octal CHMOD Command:chmod 1407 file_name
OR use the symbolic CHMOD Command:chmod a+rwx,u-wx,g-rwx,ug+s,+t,u-s,g-s file_name
Chmod Permissions for chmod 1407
Symbolic notation is used to change the permissions of files and directories relative to their current permissions.
This tool can be used to explore how symbolic notations work.
To use this tool set the current octal value of your file permissions and then select from the checkboxes below to create the target permissions for your file(s).
File Permission's "Symbolic Value", or "Symbolic Notation", is a string made up of 10 characters that represents access granted to users on the system. Each "Symbolic Value" string is broken down into 4 sections. The file type (file or directory), Owner, Group, and Other in that order. The file is the first character (either d or -), while each of the subsequent groups (owner, group, and other) are represented by each subsequent cluster of three characters. In short, a "Symbolic Value" is the "string" based counterpart of a corresponding "Octal Value".
If you are not the owner of the file or directory, become superuser.
Only the current owner or superuser can use the chmod command to change file permissions on a file or directory.
Change permissions in symbolic mode by using the chmod command.
$ chmod who operator permission filename
who operator permission
who specifies whose permissions are to be changed, operator specifies the operation to be performed, and permission specifies what permissions are to be changed.
Specifies the file or directory.
Verify that the permissions of the file have changed.
$ ls -l filename
The chmod command is used to change the permissions of a file or directory. Here are the common chmod symbolic mode permissions:
For example, to add read (r) and write (w) permission to the owner (u) of a file, you would use the command chmod u+rw filename. To remove execute (x) permission from others (o), you would use the command chmod o-x filename.
The table below displays both numeric values and symbolic representations for permissions.
|3||-wx||write and execute|
|5||r-x||read and execute|
|6||rw-||read and write|
|7||rwx||read, write, and execute|
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We’ve created life in our own image.Stephen Hawking