Jump to content

wrong rights


Recommended Posts

When I unzip PrestaShop v1.6.1.4 on my hosting.
it gives the wrong rights.
Rights will be 666 on the files.
but prestashop wants 644.

 

Are the rights created from scratch in the zip file.
Or is it the hosting company that does this?

 

 

Link to comment
Share on other sites

chmod 0755 should be enough. Try it. I don't recommend CHMOD 0777, this is only in emergency case, cause you are opening FOR THE WHOLE WORLD  access and writing permissions. This means that your page is vulnerable for changes by third parties outside - 777 means read, write and execute for all.

 

See here chmod rights: https://en.wikipedia.org/wiki/Chmod

 

Prestashop needs 0755 for the following folders:

 

/cache
/cache/cachefs
/cache/smarty
/cache/smarty/cache
/cache/smarty/compile
/cache/tcpdf
/classes
/config
/config/xml/
/controllers
/css
/docs
/download
/img
/js
/localization
/log
/mails
/modules
/override
/pdf
/themes/default-bootstrap/cache
/themes/default-bootstrap/lang
/themes/your theme in use/cache
/themes/your theme in use/lang
/translations
/upload
/webservices

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...