livinho Posted March 19, 2011 Share Posted March 19, 2011 Hello folks,i have been hacked recently.My host told me to put all folders in my direct-admin to chmod 755 en all files to 644.But now i have this issues. A lot of task are no langer executable.Even put on some new products.Can someone please tell me wich are the chomd (writing)rights to files & folders of prestashop?Ofcourse i wanne keep it safe!!ThxLieven Link to comment Share on other sites More sharing options...
Dave L Posted March 24, 2011 Share Posted March 24, 2011 Hello folks,i have been hacked recently.My host told me to put all folders in my direct-admin to chmod 755 en all files to 644.But now i have this issues. A lot of task are no langer executable.Even put on some new products.Can someone please tell me wich are the chomd (writing)rights to files & folders of prestashop?Ofcourse i wanne keep it safe!!ThxLieven You would find the information you need herehttp://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/While you have your FTP connected to your Web hosting server, make sure the following PrestaShop folders have ‘write’ permissions (also known as “CHMOD 777” – explanation of file permissions here) but do not apply these permissions recursively (to their subfolders): /config, /upload, /download, /tools/smarty/compile. Then make sure the following folders have ‘write’ permissions and apply these permissions recursively (to their subfolders): /img, /mails, /modules, /themes/prestashop/lang, /translations Link to comment Share on other sites More sharing options...
Dave L Posted March 26, 2011 Share Posted March 26, 2011 The documented instructions certainly don't reflect Best Practices.On some webhosts, server will refuse to execute any script/file within a directory set to CHMOD 777.IMO, any script which can't operate @755 should be "refactored" ...to the curb. I agree. The documented instructions only reference CHMOD to folders and subfolders. No script/files CHMOD changes are suggested. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now