symbolic link and filezilla over sftp

Posted by Doc on Server Fault See other posts from Server Fault or by Doc
Published on 2012-11-14T15:03:43Z Indexed on 2012/11/14 17:05 UTC
Read the original article Hit count: 304

Filed under:
|
|
|
|

I'm pretty new to debian, and I'm trying to set up a server.

I created a user which can only access to his folder /home/username (and its subdirectory).

Now I want to use that user for the webserver I set up, and I gave him access to /var/www but I can't see /var/www through sftp and i did a symbolic link like this

root@server:/home/username# ln -s /var/www www
root@server:/home/username# cd www
root@server:/home/username/www# chown username:username *

now, with filezilla, I can see www folder like this ->

Filezilla

but when I try to open it I get this ->

Open

Where am I going wrong?

sorry for my awful english, i hope you can understand my problem...

© Server Fault or respective owner

Related posts about debian

Related posts about ftp