Jo! Posted November 27, 2008 Share Posted November 27, 2008 Hi allWHEN INSTALLING:Would any1 tell me pls, do I set CHMOD to 777 ONLY for required folders (/img, /mails, /modules, /themes/prestashop/lang, /translations), or for FILES in these folders as well?Thank you Link to comment Share on other sites More sharing options...
giralatina Posted November 28, 2008 Share Posted November 28, 2008 What do i need? Link to comment Share on other sites More sharing options...
Jo! Posted November 28, 2008 Author Share Posted November 28, 2008 I have no idea... :-) And I need the answer. Link to comment Share on other sites More sharing options...
giralatina Posted November 28, 2008 Share Posted November 28, 2008 don't i understand your problem?Can you please explain? Link to comment Share on other sites More sharing options...
JLHC Posted November 28, 2008 Share Posted November 28, 2008 CHMOD the following folders and it subdirectories (and files) to 777 recursively:-img, /mails, /modules, /themes/prestashop/lang, /translationsCHMOD the following folder to 777 (not recursively):-/config, /upload, /download, /tools/smarty/compile Link to comment Share on other sites More sharing options...
Jo! Posted November 28, 2008 Author Share Posted November 28, 2008 CHMOD the following folders and it subdirectories (and files) to 777 recursively WHERE did you read that FILES to be set to 777?I've read ONLY ABOUT FOLDERS. So I repeat my question:SHOULD I SET FILES TO 777 OR FOLDERS ONLY?hope this is not so difficult... Link to comment Share on other sites More sharing options...
JLHC Posted November 28, 2008 Share Posted November 28, 2008 If you applied the permissions recursively to their subfolders, it also includes those files. Unless you are using a SSH command to differentiate between files and folders. I suggest you to try setting all those files under the folders to 777 as well as I do not think there will be any issue with that, unless the server is suPHP/suEXEC enabled (which can only have 644 for all files and 755 for all directories). Link to comment Share on other sites More sharing options...
Jo! Posted November 28, 2008 Author Share Posted November 28, 2008 If you applied the permissions recursively to their subfolders, it also includes those files. Not exactly. I can apply CHMOD settings to FOLDERS ONLY, FILES ONLY or BOTH. My ftp client allows me to do that.Just I dont want to have an additional security hole by applying 777 to php files.I applied 777 to FOLDERS ONLY. It seems it's OK, but probably some bugs appear due to this...Only thing I need - this is an EXACT GUIDE, but as presta is NICE, but quite uncooked product, it doesn't have it.I suggest developers to put ONE WORD to installer that will clearly say we need to set 777 to files, or not.Because "SET 777 TO FOLDERS RECURSIVELY" may mean both - FOLDERS ONLY and FILES AND FOLDERS. Link to comment Share on other sites More sharing options...
JLHC Posted November 28, 2008 Share Posted November 28, 2008 If you are concerned about security of your store, then you should not have 777 set anywhere. Set up your server to have suPHP/suEXEC enabled and you will not need to worry about files permission again. Link to comment Share on other sites More sharing options...
Jo! Posted November 28, 2008 Author Share Posted November 28, 2008 That's right, but this is not the answer...WHAT EXACTLY PRESTA NEEDS TO BE DONE??? Link to comment Share on other sites More sharing options...
sahabat Posted December 14, 2008 Share Posted December 14, 2008 Hi JLHC!Thank you for your explaination. I still don't understand the word "not recursively". So, what kind of permission should I set to files/folders under /config, /upload, /download, /tools/smarty/compile?My site went blank by this issue since I set wrong permission to smarty folder. This is very important to me. Your help is so much appreciated. Thanks Link to comment Share on other sites More sharing options...
JLHC Posted December 14, 2008 Share Posted December 14, 2008 Not recursively means that you do not set the subdirectories of these folders to 777. Link to comment Share on other sites More sharing options...
Jo! Posted December 28, 2008 Author Share Posted December 28, 2008 after 1 month - still no answer... Link to comment Share on other sites More sharing options...
ruilong Posted December 28, 2008 Share Posted December 28, 2008 You have got an answer three times..recursively = folder and files thats BOTH in your Ftp programnot recursively = only the folder.. Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2008 Share Posted December 28, 2008 Hope this help and clarify a bit... 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