I am using Drush 9 and Drupal 8. When I execute
drush site:install I find that it also modifies the permission of the web/site/default directory to r-xr-x--x, which troubles me delete that directory later. I want that directory to be 740 in my case. So two methods came to my mind. One is to run a custom shell script as post
drush si or to override the default
dush si command. I tried to go through some blogs but I couldn't understand them. Please explain stepwise.
How can I invoke a custom shell script to
drush site:install which will be run just after that command is executed.
How can I override the default