I installed Cygwin on my Windows 7 machine and am busy configuring everything. To speed things up, I installed a symbolic link to my Web root in my Cygwin home directory:

ln -s /cygdrive/c/Users/UTAN/Documents/wwwroot wwwroot

Unfortunately, Drush doesn't work if I cd into the ~/wwwroot directory. If I cd into the Web root verbatim, Drush works:

~/wwwroot/midtown/sites/default$ pwd
/home/UTAN/wwwroot/midtown/sites/default
~/wwwroot/midtown/sites/default$ drush st
 PHP configuration     :  C:\wamp\bin\php\php5.3.13\php.ini                      
 Drush version         :  5.8                                                    
 Drush configuration   :                                                         
 Drush alias files     :  C:\cygwin\home\UTAN/.drush/mtms.aliases.drushrc.php 

~/wwwroot/midtown/sites/default$ cd /cygdrive/c/Users/UTAN/Documents/wwwroot/midtown/sites/default/
/cygdrive/c/Users/UTAN/Documents/wwwroot/midtown/sites/default$ drush st
 Drupal version                  :  6.22                                                   
 Site URI                        :  http://default                                         
 Database driver                 :  mysqli                                                 
 Database hostname               :  localhost                                              
 Database username               :  root                                                   
 Database name                   :  midtown                                                
 Database                        :  Connected                                              
 Drupal bootstrap                :  Successful                                             
 Drupal user                     :  Anonymous                                              
 Default theme                   :  theme366                                               
 Administration theme            :  garland                                                
 PHP configuration               :  C:\wamp\bin\php\php5.3.13\php.ini                      
 Drush version                   :  5.8                                                    
 Drush configuration             :                                                         
 Drush alias files               :  C:\cygwin\home\UTAN/.drush/mtms.aliases.drushrc.php 
 Drupal root                     :  c:/Users/UTAN/Documents/wwwroot/midtown             
 Site path                       :  sites/default                                          
 File directory path             :  sites/default/files                                    
 Temporary file directory path   :  /tmp                                                   

/cygdrive/c/Users/UTAN/Documents/wwwroot/midtown/sites/default$ 

Am I doing something wrong or does the problem lie with Drush?

Comments

greg.1.anderson’s picture

Version: 7.x-5.8 » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.