find . -type d -print0 | xargs -0 chmod 0775 # For directories find . -type f -print0 | xargs -0 chmod 0664 # For files
Categories: System Tagged: *nix
josian // January 16, 2009 at 3:12 pm | Reply
find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \;
Mike // March 3, 2009 at 3:37 am | Reply
Just passing by.Btw, you website have great content!
______________________________ Don’t pay for your electricity any longer… Instead, the power company will pay YOU!
Name
E-mail
Website
Notify me of follow-up comments via email.
2 responses so far ↓
josian // January 16, 2009 at 3:12 pm |
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
Mike // March 3, 2009 at 3:37 am |
Just passing by.Btw, you website have great content!
______________________________
Don’t pay for your electricity any longer…
Instead, the power company will pay YOU!