FTP Error 550 when trying to access a folder via symbolic link

Posted by OrangeTux on Super User See other posts from Super User or by OrangeTux
Published on 2012-06-23T13:26:42Z Indexed on 2012/06/23 15:18 UTC
Read the original article Hit count: 234

Filed under:
|
|

I'm configuring svftp on a linux machine.

At the moment local users can login via ftp and they will see listened their home dir. They have write acces to it.

No I want the users to write in de /var/www/ dir. Therefore I created an new group apache. Added users to the group and gave the group write access to /var/www. Via the terminal all users can write .var/www/. I created a link in the home directory to /var/www via

ln -s /var/www/ /home/user/www

ls gives:

drwxr-xr-x 2 orangetux orangetux 4096 Jun 23 15:06 ftp
lrwxrwxrwx 1 orangetux orangetux 21 Jun 23 15:00 www -> /var/www/

But when I use FTP I see the link but I cannot follow it. Error 550 which means file not found or bad access.

How can I solve this, so that the users have access to /var/www via their home dir?

© Super User or respective owner

Related posts about linux

Related posts about ftp