Home > php教程 > PHP开发 > Note 003 Linux file types and file permissions

Note 003 Linux file types and file permissions

黄舟
Release: 2016-12-26 10:46:43
Original
1184 people have browsed it

Note 003 Linux file types and file permissions

This place needs the most attention! If you look carefully, you should be able to find that this column actually has ten characters

Note 003 Linux file types and file permissions

The first character means that the file is "directory, file or link file, etc.":

When it is [ d ], it is a directory, such as the line with the file name ".gconf" in the above table;

When it is [ - ], it is a file, for example, the file name in the above table is The line of "install.log";

If it is [l], it means a link file;

If it is [b], it means a storage interface in the installation file Device (random access device);

If it is [c], it represents the serial port device in the device file, such as keyboard and mouse (one-time read device).

The following characters are grouped into groups of three, and they are all combinations of the three parameters of "rwx". Among them, [ r ] represents readable (read), [ w ] represents writable (write), and [ x ] represents executable (execute). It should be noted that the positions of these three permissions will not change. If there is no permission, a minus sign [-] will appear.

The first group is "File owner's permissions". Taking the file "install.log" as an example, the owner of the file can read and write, but cannot execute; the second group is "Same group" "Permissions"; the third group is "Permissions for other non-groups".

The above is the file types and file permissions of Note 003 Linux. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template