chmod recomandat la fisierele hostate pe apache cu suexec
In cazul in care aveti web hosting pe un server bazat pe apache cu suexec, permisiunile recomandate sunt 755 pentru directoare si respectiv 644 pentru fisiere. Daca aveti acces ssh, schimbarea recursiva a permisiunilor se face astfel:
755 pentru directoare:
find . -type d -exec chmod 755 {} \;
644 pentru fisiere:
find . -type f -exec chmod 644 {} \;
unde . reprezinta directorul curent de unde va incepe cautarea. Acesta poate fi inlocuit cu o cale absoulta de genul /var/vhosts/example.com
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments
No comments yet.
Sorry, the comment form is closed at this time.