With the help of the support team of my dedicated server, I have setup Drush globally on my server. Now I can run multiple Drush versions like drush6 status, drush7 status, drush8 status with a little tweak in my .bashrc file
One problem I am unable to resolve is that when I download or update drupal it starts giving 500 Internal server error.
My Support Team Told me
When you use Drush to download Drupal, it gives files 664 permission. The PHP handler in the server is suPHP, which requires 644 file permission, so you need to run the file permission fixing script for the account after using Drush install/update commands.
Is there any way we can instruct Drush to download the files with 644 permission?