chmod 001 FILENAME
chmod --x------ FILENAME
“chmod 100 FILENAME
” or “chmod --x------ FILENAME
“, The CHMOD command sets the file permissions to “--x------
” meaning that only the owner has permission to execute the file, while the group and public users are denied any access.
Meaning | Numeric | Symbolic |
---|---|---|
The Owner (user) has Execute permissions | 1 | --x |
The Group has no permissions | 0 | --- |
The Public has no permission | 0 | --- |
Owner
Group
Public