martedì 7 settembre 2010

Come cambiare i permessi di directory o files ricorsivamente

Recursively chmod directories only

June 19th, 2006

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

This will recursively search your directory tree (starting at dir 'dot') and chmod 755 all directories only.

Similarly, the following will chmod all files only (and ignore the directories):

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



Nessun commento:

Posta un commento