Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Magento Forum

   
Do I have to chmod 777 everyfile/folder to use magento connect? 
 
nabuhonodozor
Member
 
Avatar
Total Posts:  38
Joined:  2008-03-27
 

Hi,
How to enable package manager in admin - do I have to chmod 777 everyfile/folder to use magento connect or theres specific folders which should be chmod to 777.
I think it isnt safe to have everything with 777 permissions wink
Best regards,
Piotr

 
Magento Community Magento Community
Magento Community
Magento Community
 
manolodf
Member
 
Avatar
Total Posts:  56
Joined:  2008-03-28
Dallas, TX / Hong Kong
 

I really do hope its not all folders 777, and I really doubt it, as it would be a great security issue. But I am sure someone knows exactly what it requires, I would think it would be a localized permission, and maybe not even 777, perhaps a 666 etc.

UPDATE:
I found a couple of links for you, let me know if they help
http://www.magentocommerce.com/boards/viewreply/11486/

Or this one that does say you have to chmod 777, in that case I would definately do it only while you need it and switch it back
.http://www.magentocommerce.com/boards/viewreply/14144/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Serial Killa
Member
 
Avatar
Total Posts:  61
Joined:  2008-03-22
Malaysia
 

I’m looking for the answer too…

 Signature 

"I walk across the dreaming sands under the pale moon: through the dreams of countries and cities, past dreams of places long gone and times beyond recall.”

 
Magento Community Magento Community
Magento Community
Magento Community
 
VisualFrames
Sr. Member
 
Avatar
Total Posts:  104
Joined:  2008-04-03
New York, NY
 

i would not recommend to change the permission to just about everything recursively as the command that you use might do so.

Here is a command that you can run on your SSH window to CHMOD only the directly and the subdirectories but not the files under those directories:

find [YOURDIR] -type d -exec chmod 777 {} \;

All you have to do is to go to your magento installation directory on your server through SSH and from that directory type this command:

find . -type d -exec chmod 777 {} \;

This will change the permissions of only directory and subdirectories under magento; which changing the permissions on the magento directory itself as you do not need to have it changed.
Obviously it would be better to know exactly which directory(ies) need this fix and only apply this change to them.

I hope this helps.

 Signature 

http://www.eCommerce-Themes.com
Now offering: Lots of Magento Premium Themes, Magento Professional Services, Custom Extension Dev and Hosting!
An Accent on Quality! For all your Magento design needs

 
Magento Community Magento Community
Magento Community
Magento Community
 
jwebber
Member
 
Avatar
Total Posts:  33
Joined:  2008-03-12
 

Thanks VisualFrames! I SSHed into my www directory and ran this command:

find . -type d -exec chmod 777 {} \;

...got a couple Operation not Permitted errors on the var/cache folders but that didnt matter. It all works great now!

 Signature 

-John Webber
My company: Ad Stream, Inc.
My test Magento setup: http://www.magthemes.com/magento/
Free & Paid Magento Themes

 
Magento Community Magento Community
Magento Community
Magento Community
 
winterradio
Jr. Member
 
Total Posts:  22
Joined:  2008-02-01
 

VisualFrames solution also worked for me.  The var/cache folders aren’t necessary for Mageno Connect as far as I can tell.

Thanks VisualFrames.

 
Magento Community Magento Community
Magento Community
Magento Community
 
VisualFrames
Sr. Member
 
Avatar
Total Posts:  104
Joined:  2008-04-03
New York, NY
 

Do not worry about the permissions issue with var/cache. As you must have guessed that is where magento cache is written and it can’t be modified while the store is live.

Stay tuned guys as we are going to release some themes soon. You can view a preview of one of our upcoming themes here:

http://www.magentocommerce.com/boards/viewthread/5294/#t19683

 Signature 

http://www.eCommerce-Themes.com
Now offering: Lots of Magento Premium Themes, Magento Professional Services, Custom Extension Dev and Hosting!
An Accent on Quality! For all your Magento design needs

 
Magento Community Magento Community
Magento Community
Magento Community
 
Right Click
Sr. Member
 
Avatar
Total Posts:  110
Joined:  2008-04-16
Roma
 

But there’s no other way to install moder theme???

 Signature 

Creazione e personalizzazione Ecommerce Magento
_________________________________________________________
http://www.rcsolution.it - Magento Silver Partner

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

For reasons for permissions specifics and details please see this article: http://www.magentocommerce.com/wiki/magento_filesystem_permissions

HTH

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
skel
Jr. Member
 
Total Posts:  7
Joined:  2007-09-01
 

hello i have trouble with magentoconnect and menus in admin

when i do a fresh install everything work nice even the menus in the admin section , to make magentoconnect work i do the chmod 777 on all directory (seems strange to me) but after that the menus in the admin section don’t work, so i’m not able to install the fooman patch, i tried to install the extension by ssh but no way to make it work it keep telling me that the extention is not found while i’m sure of the name (on my local machine everything work fine so i’m able to retrieve the name of the extentions and the version availiable)

EDIT: my ssh upgrade don’t work simply because the ssh shell don’t have internet access on my hoster company :(

RE EDIT : i reinstalled magento , the magentoconnect worked without the chmod 777 (don’t ask me how) so i was able to install the extensions now all is ok ...

 
Magento Community Magento Community
Magento Community
Magento Community
 
duke
Jr. Member
 
Total Posts:  16
Joined:  2008-07-08
 

Same thing happens to me, won’t be fixed just with a reinstall. Chmod 755 for the folders and 644 for the files @ the js folder and everything will be alright.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
39897 users|750 users currently online|85888 forum posts