martes, 12 de febrero de 2013

Change all file permissions to 644 and all folder permissions to 755 recursively

find . -type f -exec chmod 644 {} \+

find . -type d -exec chmod 755 {} \+





find . -type d -perm 777 -exec chmod 755 {} \; (for changing the directory permission)
find . -type f -perm 777 -exec chmod 644 {} \; (for changing the file permission)

No hay comentarios:

Publicar un comentario