Return to Snippet

Revision: 55553
at February 11, 2012 02:49 by axertion


Initial Code
find . -type d -print0 | xargs -0 chmod 0755 # For directories
find . -type f -print0 | xargs -0 chmod 0644 # For files

Initial URL


Initial Description
Sets the permissions for all folders to 755, and for all files 644.

Useful for SUPHP configurations which required this specific permission setup.

Initial Title
Chown all folders 755, files 644 in Linux

Initial Tags
linux

Initial Language
Bash