monova Posted March 3, 2014 Share Posted March 3, 2014 Hi there, I have a problem with 1.5.6.1 and 1.5.6.2 archives of prestashop. I downloaded the archives from prestashop website, uploaded them to my hosting server, extracted and all the folders have permission 700 instead of 755. I do not have this problems with 1.5.6.0 archives or lower. Have i done something wrong? Am I the only one with this problem? I did try on 2 different hosting servers, same problem. After extraction: Inside prestashop folder: Link to comment Share on other sites More sharing options...
NemoPS Posted March 3, 2014 Share Posted March 3, 2014 Uhm... and if you change them manually to 775? Link to comment Share on other sites More sharing options...
monova Posted March 3, 2014 Author Share Posted March 3, 2014 Hi Nemo, I could do that (it's a pain in the ass but doable), but i was wondering if i'm doing something wrong, the server where i'm hosting has a problem or is it the archive? Link to comment Share on other sites More sharing options...
NemoPS Posted March 3, 2014 Share Posted March 3, 2014 No, you don't have to do it manually for each folder Just set them for the main one and apply recursivbely to all subfolders Not sure why they are 700 by default, must be the server config Link to comment Share on other sites More sharing options...
monova Posted March 3, 2014 Author Share Posted March 3, 2014 Can you guide me please on how to do that? I have CPanel and i only have the option "Recursive", so it gives 755 to files also, not just folders and sub folders and with WinSCP is the same, he gives permissions to files also and i think the files permissions should be something like 644? Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2014 Share Posted March 3, 2014 you said you uploaded and then extracted...but you did not run the installation? Link to comment Share on other sites More sharing options...
monova Posted March 3, 2014 Author Share Posted March 3, 2014 Hi Patron No, i couldn't run, with permission 700 on folders the install is not working, not evens showing something, just an error that i could not acces that page or something like that.. I gave 755 on all folders and subfolders from cpanel, and i installed presta like that, even tho all the files in those folders have that permissions also, not 644, ofcourse, with the 777 perm on requested folders by presta. It's working but i do not know how safe it is, i do not know much about permissions Anyway, the topic was started not as a real problem and more of a question, i wanted to know if the archives downloaded from prestashop are to blame or did i do something stupid and got that 700 perm on all my folders Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2014 Share Posted March 3, 2014 700 tells us that only owner can read/write/execute. how did you create the root directory? manually or via you hosting control panel when you created domain? Link to comment Share on other sites More sharing options...
monova Posted March 3, 2014 Author Share Posted March 3, 2014 (edited) In the public_html folder of my hosting server, (the root i guess) i uploaded the archive via ftp with WinSCP, then i logged in cpanel, selected the archive and clicked Extract. The folder "prestashop" that was extracted got the 700 perm along with all the folders in it without me doing anything else.. This is the result: http://144.76.85.194/~testmedial/prestashop Edited March 3, 2014 by monova (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2014 Share Posted March 3, 2014 I would suggest not extracting from hosting(as a test). extract locally and then ftp up...as it would seem the extraction is making a mess of it. Link to comment Share on other sites More sharing options...
monova Posted March 3, 2014 Author Share Posted March 3, 2014 I will do that, but keep in mind that the same thing happens on a different server from a different company, with direct admin installed not cpanel, and only on versions 1.5.6.1 and 1.5.6.2, on 1.5.6.0 and lower it gives the right permissions Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2014 Share Posted March 3, 2014 I will do that, but keep in mind that the same thing happens on a different server from a different company, with direct admin installed not cpanel, and only on versions 1.5.6.1 and 1.5.6.2, on 1.5.6.0 and lower it gives the right permissions I know, I can't get my head wrapped around what you are doing ......I may just be wanting a bromance...jajajajajajajaja...sometimes it's just nice to have someone else wander in with different idea so one does not get bored with bright ideas.. Link to comment Share on other sites More sharing options...
maclean_cherry Posted March 4, 2014 Share Posted March 4, 2014 Hi monova, Don't worry, you're not crazy, I see exactly the same thing. I always install shopping carts via SSH. Who seriously has the time to wait for thousands of individual files to upload via FTP? So when I unzip the file on the server all of the folders have permission 700 instead of 755. All of the files are correctly set at 644 though. If you know how to use SSH you can fix this easily. - Login via SSH - Navigate to your Prestashop folder - Enter (without quotes) "find -type d -exec chmod 755 {} \;" This will start in the folder you're in and recursively go through and change the permissions on every folder underneath it to 755. You can add -print before -exec if you want it to list the folders it's changing in your terminal window. If yo ualso had the problem with files being the wrong permissions you could use "find foldername -type f -exec chmod 644 {} \;" Hope that helps. Maclean Link to comment Share on other sites More sharing options...
monova Posted March 4, 2014 Author Share Posted March 4, 2014 Hi Maclean, The package I selected from my hosting company does not provide SSH, but i will contact them to see if they will be kind enough to do what you have told me. Thanks. It's good to know that i'm not the only one with this problem 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