Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

can’t install modules with Magento Connect / Warning: mkdir() [function.mkdir]: Permission denied in
 
jordypaul01
Jr. Member
 
Total Posts:  9
Joined:  2010-03-09
 

I’m trying to install the Dutch language pack on Magento 1.4 but I run into some errors. My client has his own server and I’m not allowed (or it’s not possible) to change file permissions via ftp, so I need help from their system administrator to check things. According to him all files and folders in de downloader folder are set correctly, but still I can’t install anything.  Anybody here who can help me or give me some advice?

This is the error message I get:

Exception caught:

Warning: mkdir() [function.mkdir]: Permission denied in C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\System.php on line 277

Backtrace:
#0 [internal function]: mageCoreErrorHandler(2, ‘mkdir() [mkDir(Array)
#3 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\PEAR\Installer.php(997): PEAR_Common->mkDirHier(’C:\inetpub\vhos...’)
#4 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\PEAR\Installer.php(547): PEAR_Installer->mkDirHier(’C:\inetpub\vhos...’)
#5 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\PEAR\Installer.php(1406): PEAR_Installer->_installFile2(Object(PEAR_PackageFile_v2), ‘/nl_NL/Mage_Goo...’, Array, ‘C:\inetpub\vhos...’, Array)
#6 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\PEAR\Command\Install.php(708): PEAR_Installer->install(Object(PEAR_Downloader_Package), Array)
#7 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\pearlib\php\PEAR\Command\Common.php(271): PEAR_Command_Install->doInstall(’install’, Array, Array)
#8 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Pear.php(234): PEAR_Command_Common->run(’install’, Array, Array)
#9 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Pear.php(301): Maged_Pear->run(’install’, Array, Array)
#10 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Model\Pear.php(245): Maged_Pear->runHtmlConsole(Array)
#11 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Controller.php(135): Maged_Model_Pear->installPackage(’magento-communi...’)
#12 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Controller.php(368): Maged_Controller->pearInstallPackagePostAction()
#13 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\Maged\Controller.php(183): Maged_Controller->dispatch()
#14 C:\inetpub\vhosts\clooser.nl\httpdocs\webshop\downloader\index.php(35): Maged_Controller::run()
#15 {main}
Magento is a trademark of Irubin Consulting Inc. DBA Varien. Copyright © 2008 Irubin Consulting Inc.

 
Magento Community Magento Community
Magento Community
Magento Community
 
InPi
Jr. Member
 
Total Posts:  2
Joined:  2010-02-23
 

I have exactly the same problem: tried to install the German language extension and ran into this problem. Before I was able to install extensions but now it looks like I can’t install anything at all. Even using “magento-core/Mage_All_Latest” in the MagentoConnect Manager runs into some errors. Maybe it is problem with the rights on the server? But I didn’t have any problems in this direction before..... Did you find a solution??

 
Magento Community Magento Community
Magento Community
Magento Community
 
Erix
Sr. Member
 
Avatar
Total Posts:  113
Joined:  2008-03-02
 

same problem here, any solution?

Magento 1.4.0.1

 
Magento Community Magento Community
Magento Community
Magento Community
 
WebhostUK LTD
Sr. Member
 
Avatar
Total Posts:  163
Joined:  2009-08-27
UK
 

Hello,

I think its more of a permission issue to the file or folder, as the error states its unable to make directory.

Try assigning 777 permission those files and folder.

 
Magento Community Magento Community
Magento Community
Magento Community
 
USA-Goods
Jr. Member
 
Total Posts:  2
Joined:  2010-03-28
 

assigned 777 permissions to folder and all subdirectories, without success. Same response.

Warning: mkdir() [function.mkdir]: No such file or directory.....

 
Magento Community Magento Community
Magento Community
Magento Community
 
jordypaul01
Jr. Member
 
Total Posts:  9
Joined:  2010-03-09
 

same here, all files and folders are set to writable, but still I get the error.

 
Magento Community Magento Community
Magento Community
Magento Community
 
InPi
Jr. Member
 
Total Posts:  2
Joined:  2010-02-23
 

Solved the problem with:
--> updating everything with “magento-core/Mage_All_Latest” in the MagentoConnect Manager. Attention: on the tab “Settings” I chose not to manage the rights by myself, so select “No” instead of “Yes” for rights management.
--> after that I selected again “Yes” on the select for the rights and installed the new German language package for 1.4.x. Still ran into a problem with a csv file which had not the rights it needed. Changed the rights manually to 777 and voilà - the language pack was installed!
Honestly: just played around with all possible settings and in the end I was successful....

 
Magento Community Magento Community
Magento Community
Magento Community
 
jordypaul01
Jr. Member
 
Total Posts:  9
Joined:  2010-03-09
 

I tried above solutions, but my problem isn’t solved yet. I also found out I get different kind of errors, depending on what I’m trying to install.

This is so frustrating. Has anybody got any other suggestions?

 
Magento Community Magento Community
Magento Community
Magento Community
 
strategy
Jr. Member
 
Total Posts:  6
Joined:  2010-02-20
 

I solved this by making sure the settings tab had “Use custom permissions” set to No

 
Magento Community Magento Community
Magento Community
Magento Community
 
ChrisAshbolt
Jr. Member
 
Total Posts:  1
Joined:  2010-05-20
 

Hi Guys,
Been at this one for days......
It’s PHP safe_mode, run the magento-check.php script and check if yours is on or off. It must be off for this to work.
Hope this helps cool smile

Chris Ashbolt
chameleon web design

 
Magento Community Magento Community
Magento Community
Magento Community
 
infobuster
Jr. Member
 
Total Posts:  8
Joined:  2009-03-31
 
strategy - 07 May 2010 08:15 PM

I solved this by making sure the settings tab had “Use custom permissions” set to No

this solved my problem too lets hope it doesn’t lead to other problems

 
Magento Community Magento Community
Magento Community
Magento Community
 
tperkins
Jr. Member
 
Total Posts:  10
Joined:  2008-08-06
 

I get this problem nearly everytime I upgrade.

In my case its always that I’ve copied my magento files to a staging area but forgot to edit the paths in “/downloader/pearlib/pear.ini”. So it was trying to install the updates using the production sites file paths, the end result being a permission denied error.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top