Last updated on November 22, 2023
For directories only do this.
find . -type d -exec chmod 775 {} \;
For files only do this.
find . -type f -exec chmod 644 {} \;
And finally, this command will add execute permissions to directories.
chmod -R +X
Last updated on November 22, 2023
For directories only do this.
find . -type d -exec chmod 775 {} \;
For files only do this.
find . -type f -exec chmod 644 {} \;
And finally, this command will add execute permissions to directories.
chmod -R +X