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

CHMOD settings
 
FloggingHank
Jr. Member
 
Total Posts:  3
Joined:  2011-02-17
 

Hi Everybody,

We are done with installing and customizing our magento shop and theme and want to go live asap.
However i am confused about the chmod settings of the folders/files on the server. No that we are done with development do we need to change the chmod settings? Is there a list of the ideal settings for all the folders/files?

The only thing i can find while google-ing is users having troubte with the installation but not much about once your done.

Thanks in advance!

Im sorry if this is a noob question, im just a bit freaked out by chmodding; i don’t know much about it and i keep reading that it is very important.

 
Magento Community Magento Community
Magento Community
Magento Community
 
FloggingHank
Jr. Member
 
Total Posts:  3
Joined:  2011-02-17
 

Please, isn’t there anybody who can help me with this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagenX
Enthusiast
 
Total Posts:  791
Joined:  2008-05-26
Dublin
 

hi
if you need just general server read/write permissions use inside magento root:

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

then it all depends on who is actually owns your files and who needs access:

chown -R {dev_user}:{server_user} magento_folder
find 
. -type f -exec chmod 664 {} \;
find . -type d -exec chmod 775 {} \;

chown -R {dev_phtml_user}:{server_user}  app/design/
chown -R {dev_skin_user}:{server_user}  skin/frontend/my_theme

chmod -R 777 var
chmod -R 777 media
chmod 
-R 777 tmp

chmod 440 app
/etc/local.xml

it`s all heavily depends on your security schema and users you have.

read more over here
http://ss64.com/bash/chmod.html

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