how to give permission to a folder recursively in linux code example Example: chmod folder recursive chmod -R MODE DIRECTORY #Example chmod -R 755 /var/www/html