I have a VPS OS: ubuntu 15.04, in which i have one website in /var/www/html/WEBSITE /var/www/html/WEBSITE have www-data:www-data as user:group
I created a symbolic link with
ls -s /var/www/html/WEBSITE /home/USER1/WEBSITE
To allow access USER1 to /var/www/html/WEBSITE with sftp I have created a user USER1 with this command
sudo useradd -d /home/user1 -m User1 -g sftp -s /bin/false
/home/USER1/WEBSITE root:root
I would like to give to securely access to USER1 to folder /var/www/html/WEBSITE I followed this link, so connection will be with sftp.
When i connect with root acount on sftp with filezilla, the symbolic link is redirected me the /var/www/html/WEBSITE but when i'm connected with USER1 account i couldn't access to the target folder.
Thanks and sorry for my english.