Jump to content

Site dosent have permission for /var/www


Go to solution Solved by shahriar,

Recommended Posts

Hello , 

 

I have a server linux debian , it was running a site on my server and site was working well .

 

2 days ago i removed site and moved prestashop from other host which i configured to my linux server . 

 

the problem is prestashop dosent have permission to edit and change file inside /var/www .

if i change all files and folder permission to 0777, prestashop working well , but as soon as i change files and folder permission to 0644 and 0755 it is stop working .

after lots of search find out that /var/www group and owner is root user , becuse of that prestashop not able to change any file that needed . 

 

i read this topic  http://forums.phpfreaks.com/topic/186274-debian-varwww-file-permissions/

 

but dont know how can i give permission to prestashop to work with /var/www , prestashop dosent have any user that i can to give it permission to work with /var/www 

 

any advise i appreciate 

Link to comment
https://forums.phpfreaks.com/topic/285458-site-dosent-have-permission-for-varwww/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.