View Single Post
  #5  
Old 27th October 2011, 17:58
flynns.br flynns.br is offline
Junior Member
 
Join Date: Oct 2011
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Ahh, ok, so that the problem. FTP users can not upload or change files when you uploaded them as root user. The root user is the administrative user of a Linux server, files that are uploaded by him vcan not be changed by normal users. To fix this, you have to chown all files and folders recursively to the web user and client group of this website.

Example:

chown -R web1:client1 /var/www/www.domain.tld/web/*

replace web1 with the web user that owns the website and client1 with the group that owns the website. You can find client and group on the options tab of the website settings.
Thanks man you are a life saver !!!!! it worked like a charme, I just had to change the comand like this:

chown -R web1:client1 /var/www/clients/client1/web1/*

Reply With Quote