0

How to change the permissions of folders and files

Asked 1 month ago (May 12, 2021) in the field of Operating Systems by Sophia.M

Is it possible to change the files access without facing serious security problems?


Answers


0
Answered 1 month ago (May 15, 2021) by Eldernode Staff

Use the following command to manually change folder access to 755:

find /home/<user>/domains/yourdomain.com/public_html -type d -exec chmod 755 {} \;

Use the following command to manually change the file access to 644:

find /home/<user>/domains/yourdomain.com/public_html -type f -exec chmod 644 {} \;

Note: In the above commands, you must enter the domain address you want instead of yourdomain.com.

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+18054214518

7 days a week, 24 hours a day