0 votes
by (139 points)
How to change all directories to 755 and files to 644 from terminal?

1 Answer

0 votes
by (172 points)
find /foldername -type d -exec chmod 0755 {} \;
find /foldername -type f -exec chmod 0644 {} \;
Welcome to Codeshikari Q&A, where you can ask any vulnerability related questions and receive answers from the experts of the community. Screenshot-from-2019-03-15-23-08-47
...