/var/www/drupal
.sudo find /var/www/drupal/*/ -type d -exec chmod 777 {} \;
To drop the execution rights of the all files under
/var/www
.sudo find /var/www -type f -exec chmod -x {} \;
That's all! See you.
Open Source is a great idea and it has changed the world!
Open Source forever ....
While you do not know attack, how can you know about defense? (未知攻,焉知防?)
Do BAD things .... for the RIGHT reasons -- OWASP ZAP
It is easier to port a shell than a shell script. -- Larry Wall
Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris. -- Larry Wall
为天地立心, 为生民立命, 为往圣继绝学, 为万世开太平。 -- 王炜
/var/www/drupal
.sudo find /var/www/drupal/*/ -type d -exec chmod 777 {} \;
/var/www
.sudo find /var/www -type f -exec chmod -x {} \;