
#finds all subdirectories in this directory
ls -tF1 |grep "\/" | sed 's/^/chmod 777 /g' > tmp
cat tmp
