Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux change permissions recursive only directories

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755 
find /path/to/base/dir -type f -print0 | xargs -0 chmod 644
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #linux #change #permissions #recursive #directories
ADD COMMENT
Topic
Name
5+6 =