Linux server modify the permissions of all files in the folder

Command to modify permissions: chmod

If we only want to modify the permissions under a certain directory, such as the home folder, use

chmod 777 /home

How do we want to modify the permissions of all levels of files and sub-files under /home

sudo chmod 777 * -R /home

 

Guess you like

Origin blog.csdn.net/u012798683/article/details/107311882