Jump to content

Folders/Files Permissions - Only chmod -r 777 worked


Recommended Posts

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

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 by rafaelvidal (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...