Thursday, 3 November 2011

Want To Confirm Chmod All Directories

Want To Confirm Chmod All Directories

Hello,

I just want to confirm that -> find . -type d -exec chmod 755 {} \; will chmod all directories current and lower will now be 755.

Say directory scheme is,

Home/Dir1/Dir2/Dir3/Dir4/Dir5, and I am in dircectory DIR3. If I run the statement above in Dir3, it should mean all directories DIR3/DIR4/DIR5 are all now 755 and DIR1 and DIR2 stay as before.

Thanks JR

No comments:

Post a Comment