Jump to content

What ownership should prestashop files have?

Recommended Posts


I have been having a lot of problems with file ownership and permissions with my test site (ps1.7.4), unable to update, not having access to folder contents on file manager and theme elements now missing from my site.

My hosting have tried a few things (one having file ownership set as nobody) but they say the ownership should be set as the cpanel login name. Reading many similar posts on here some say it should be set as user 'yourdomainwiithoutwww', not as root or username. Does this include the .com etc?? i.e for www.prestashop.com should be 'prestashop.com' or 'prestashop'??

Others have said that prestashop files should set running the command chown -R www-data:www-data (Then the username can be added as a member of www-data group, by the command sudo adduser user www-data, user can be replaced with your username) but other people say this is incorrect and you should install suPHP on the server (SuExec). 

I can't find any information on the official documentation site but need to figure out whats correct for my VPS.

I appreciate any help

Share this post

Link to post
Share on other sites

You don't need any special permissions for PrestaShop. They just have to be "right" for both - PHP and FTP access. I switched my hosting company because of this kind of problems.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More