dapurhosting.com Blog for Tech

June 8, 2009

Mass Change Permission

Filed under: Securtiy,Server — dh @ 5:42 pm

Go to your directory

to change permission from one to other

find -perm 777 -exec chmod 755 {} \; -print

To change all directory permission

find -type d -perm 777 -exec chmod 755 {} \; -print

To change all public_html permission

cd /home; find -name "public_html" -exec chmod 711 {} \;

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress