Basic Linux Learning

Source: Internet
Author: User

1. The file name is preceded by a ".", which means " hidden file ".

2.chgrp: Change the user group to which the file belongs

chown: Changing the file owner

chmod: Change the permissions of the file//r=4,w=2 x=1;

3. File default permissions:umasK;umask's fractional value refers to the permission that the default value needs to be dropped . The permissions that//002 represents are removed by 2.

4. When a file has special permissions for SUID , it means that when the user executes the binary program, the user temporarily has the program owner's permission during the execution process;

When a directory has special permissions on a GUID , the user group that is created on behalf of the user under this directory will be the same as the user group for that directory;

When a directory has special permissions for sbit , the files created by the user on behalf of the directory are deleted only by itself and by Root.



Basic Linux Learning

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.