Home > Linux > chmod directory only or file only

chmod directory only or file only

find -type d -print0 |xargs -0 chmod 755
find -type f -print0 |xargs -0 chmod 644

Categories: Linux Tags:
  1. No comments yet.
  1. No trackbacks yet.