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

1 Answer

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