Files and Directories permissions error

From time to times, we must fix permissions on files and directory in order to secure an installation or to fix a broken one.

The common error message that you'll encounter in your logs will be similar to the following:

error: directory is writable by others


The process to resolve this particular issue is quite straight forward and simple.

1) Log to your server using SSH
2) Run those commands

find ~/www/ -type f -exec chmod 644 {} \;
find ~/www/ -type d -exec chmod 755 {} \;


3) Visit your website and see if everything run smoothly


And that's about it!
  • 1 utilizatori au considerat informaţia utilă
Răspunsul a fost util?

Articole similare

Mon Compte a été Piraté

Un compte piraté (ou hacké) est un compte qui a été compromis par un individu non-autorisé....

Informations Importantes Pour Sécuriser Votre Site

En tant que détenteur d'un forfait d'hébergement mutualisé, il est...

Magento Security Tips

E-commerce Site VulnerabilitiesMost e-commerce platforms and payment gateways possess the same...

Quoi faire après un nettoyage de sécurité de votre compte

Les étapes suivantes devraient être suivies après qu'un expert ait...