LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Suggested directory permissions for web server (https://www.linuxquestions.org/questions/linux-server-73/suggested-directory-permissions-for-web-server-4175714822/)

4pr3nd1z 07-19-2022 08:31 PM

Suggested directory permissions for web server
 
Hello friends, I would like to know according to your experiences the permissions that the directories should have for a linux web server.

My query is by way of review, I was seeing many suggestions after a search with Google.

I thank you in advance for your time.

scasey 07-19-2022 09:14 PM

Directories should be 755
Files should be 644

4pr3nd1z 07-23-2022 12:14 AM

Quote:

Originally Posted by scasey (Post 6368573)
Directories should be 755
Files should be 644

Thank you

Turbocapitalist 07-23-2022 08:07 AM

Although, if you want to have shared access to the directories so that several different accounts can edit then a more difficult approach is required at least for the EXT file systems.

4pr3nd1z 08-06-2022 07:50 AM

Quote:

Originally Posted by Turbocapitalist (Post 6369350)
Although, if you want to have shared access to the directories so that several different accounts can edit then a more difficult approach is required at least for the EXT file systems.

Thank you for the link suggestion. @Turbocapitalist


All times are GMT -5. The time now is 02:42 AM.