rafaelvidal Posted January 6, 2014 Share Posted January 6, 2014 Hello, Prestashop only got installed under permission 777 recursively. What should I do now since many folders and files have full permissions? How to change permissions to their normal state now? Link to comment Share on other sites More sharing options...
El Patron Posted January 6, 2014 Share Posted January 6, 2014 this is most likely that your domain does not run as owner, so the default permissions on your server would be 777... Link to comment Share on other sites More sharing options...
vekia Posted January 6, 2014 Share Posted January 6, 2014 i think that this can be related to CHOWN, directory, where your website is hosted has got different owner than apache, so apache can't create / edit files / directories there Link to comment Share on other sites More sharing options...
rafaelvidal Posted January 9, 2014 Author Share Posted January 9, 2014 i think that this can be related to CHOWN, directory, where your website is hosted has got different owner than apache, so apache can't create / edit files / directories there I have just read the documentation and it's clearly stated: Some hosts might require you to use CHMOD 777, although it is not recommended for anything more than a one-time need.If you have to use CHMOD 777 in order to install PrestaShop, make sure to switch to a safer setting (for instance, 775 for folders and 664 for files) once you are done installing. I'll check the chown permissions later. What kind of CHOWN do you suggest to set? Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 chown it's not chmod problems with chown are related to server configuration. if APACHE isn't owner of the directory where you want to create files / directories - script will not be able to create them. Link to comment Share on other sites More sharing options...
rafaelvidal Posted January 9, 2014 Author Share Posted January 9, 2014 (edited) chown it's not chmod problems with chown are related to server configuration. Guess you didn't get me... My website files are not owned by 'apache' by default. Their default group is 'psacln'. What chown settings do you suggest? apache apache? root root? if APACHE isn't owner of the directory where you want to create files / directories - script will not be able to create them. Also, the scripts ARE able to create files. The point is that they require full permission (777) to do so. Edited January 9, 2014 by rafaelvidal (see edit history) 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