UNIX file and directory Access can be viewed as a form of a 3*3 matrix.
That is, three Access objects (owner,groups,others, user groups, others), each with three access rights (Read,write,execute read, write, execute).
111 binary means 7,100 is 4 if
Access to UNIX files and directories can be viewed as a 3*3 matrix.
That is, three access objects (owner, groups, and others are the owner, user group, and others). Each object has three access permissions (read, write, and execute ).
The Binary
To view file permission statements:In Terminal input:Ls-l xxx.xxx (xxx.xxx is the file name)Then there will be similar messages, mostly these:-rw-rw-r--A total of 10 digitsWhich: the front one-represents the typeThe middle three rw-represents the
Only Read permissions can execute the file properly (is the Boolean user doing this read file?). )
Only the Execute permission prompt is denied (because PHP itself is not an executable file?). Or because it's an interpretive language? )
Read Execute
Only the read permission can normally execute the file (is it a boolean user performing this read file operation ?) Only the execution permission prompt is rejected (because php itself is not an execution file? Or is it an interpreted language ??)
In this section, we describe the lock-related APIs provided in the go language. This includes mutexes and read-write locks. We described the mutex in the 6th chapter, but did not mention the read-write lock. Both of these locks are very common and
When the execute dialog box is opened and saved, the memory read error is inexplicably reported. Which of the following heroes can solve this problem? Thanks very much for the development and application of the VCL
The executable permission of the directory indicates whether you can execute commands under the directory. If the directory does not have the-X permission, you cannot execute any commands on the directory or even CD into the directory. Even though
If you have used LS under Linux, careful you will find that the directory has executable permissions! Such as:DRWXRWXR-X CL cl 4096 September 25 14:22.DRWXR-XR-X CL cl 4096 October 10 16:00. /Drwxrwxr-x 5 CL cl 4096 September 10:58
Note: The root user is not under the control of file and directory permissions, that is, with arbitrary permissions!File read, write, execute permission description:Readable r: Indicates a permission to read the contents of a fileWritable W:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.