Subscribe:

Ads 468x60px

Pages

Monday, August 8, 2011

change the permission for multiple files or folders at a time under any specific directory


How to change the permissions of all the directories under as specific directory at a time itself
# find $x -type d -exec chmod 755 {} \;


How to change the permissions of all the files under as specific directory at a time itself
# find $x -type f -exec chmod 644 {} \; 

0 comments:

Post a Comment