2014/06/20

Chown all folders 755, files 644 in Linux

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


Useful for SUPHP configurations which required this specific permission setup.



find . -type d -print0 | xargs -0 chmod 0755 # For directories



find . -type f -print0 | xargs -0 chmod 0644 # For files

ليست هناك تعليقات:

إرسال تعليق