How to reset file/directory permissions with chmod on web server.

The solution is quiet simple: just exec following commands inside site’s root:

find . -type f -print0 | xargs -0 chmod 644
find . -type d -print0 | xargs -0 chmod 755

Related posts:

  1. Come togliere attriubuto eseguibile solo dai file in linux
  2. Eliminare i file più vecchi di x giorni con Linux
  3. Script php per aggiungere un nuovo virtual site sotto Apache.
  4. Promemoria del calcolo di chmod
  5. Problemi con mib di snmpd su debian

About The Author

No Comments

Leave A Reply