Magento – “Failed to mkdir” Error
Many times when you try to install a new theme or application from
“Magento Connect Manager” , you may encounter the error :
“Magento Connect Manager” , you may encounter the error :
ERROR: failed to mkdir |
To fix this issue follow the below steps :
root@server[#] cd /home/username/public_html/downloader root@server[#] vi config.ini |
It will show something like this :
preferred_state=stable use_custom_permissions_mode=1 mkdir_mode=0777 chmod_file_mode=0777 chmod_file_mode_executable=0777 tmp_dir=../var/tmp |
Now make the below changes :
preferred_state=stable use_custom_permissions_mode=0 mkdir_mode=0777 chmod_file_mode=0777 chmod_file_mode_executable=0777 tmp_dir=../var/tmp |
That’s all you are done.