Introduction to the meaning of file attributes in Linux operating systems

Source: Internet
Author: User

The first attribute represents the file as "directory, file or link file, and so on":

When [d] is a directory, such as line 11th of the table above;

When a [-] is a file, for example, line 5th of the table above;

If [l] is a link file;

In the case of [b], the peripheral equipment that is available for storage in the device file;

If [C] is the serial port device inside the device file, such as keyboard, mouse.

In the next attribute, three is a group, and all of the three parameters of "rwx" are combined. where [R] stands for readable (read), [W] for writable (write), [x] for executable (execute):

The first group is "authority of the owner" and, in the 5th Act, the owner of the file can read, write, but not execute;

The second group is "permissions of the same group";

The third group is "other non-this group's permissions".

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.