Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to modify the permissions of folders and subdirectories by chmod

2025-03-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

What the editor shares today is how chmod modifies the permissions of folders and subdirectories. Maybe you are no stranger to chmod, or you have never known chmod. But don't worry, today the editor will give you a detailed explanation of the method of modifying the authority, which will certainly help you.

How to modify the permissions of folders and subdirectories by chmod

Open the terminal to enter the directory you need to modify

Then execute the following command

Chmod 777 *-R

All subdirectories and file permissions are changed to 777

Permission to view linux files: ls-l file name

Permission to view the linux folder: ls-ld folder name (directory)

Modify file and folder permissions:

Sudo chmod-(represents type) × × (owner) × × (group of users) × × (other users)

Commonly used commands to modify permissions:

Sudo chmod 600 × × (only the owner has read and write permissions)

Sudo chmod 644 × × (owners have read and write permissions, group users only have read permissions)

Sudo chmod 700 × × (only the owner has permission to read, write and execute)

Sudo chmod 666 × × (everyone has read and write access)

Sudo chmod 777 × × (everyone has access to read, write and execute)

The above is how to modify the folder and subdirectory permissions of chmod to do a brief introduction, of course, the detailed use of the above differences also need to be used by everyone to understand. If you want to know more, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report