Precautions for Linuxchmod permission management

Source: Internet
Author: User
Linuxchmod permission management requires careful permission management and simplicity of local archives, such as chmod775/tmp/test. sh also uses chmod + w/tmp/test. sh adds editable permissions to the owner, group, and other persons of the archive. In this way, there are security risks. So if... linux chmod permission management requires careful permission management and simplicity of local archives, such as chmod 775/tmp/test. sh also uses chmod + w/tmp/test. sh adds editable permissions to the owner, group, and other persons of the archive.

In this way, there are security risks. Therefore, if you want to modify the Directory, that is, the folder permission, you should pay attention to it. if you want to set all the permissions in the directory to the same as the directory, you can use-R, note that the values are in uppercase, which is different from the options for recursion using the cp and rm commands. If-R is not used, only the permission of the directory will be modified, and the internal permission of the directory will not be changed.

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.