Odd vsftp issue

Jeff Vian jvian10 at charter.net
Sun Dec 11 18:24:21 UTC 2005


On Sun, 2005-12-11 at 10:50 -0700, Ashley M. Kirchner wrote:
>     I have the following structure on my file system:
> 
>     $HOME = /home/kirash
>     /home/kirash/cgi-bin -> /var/www/virtual/kirash  (a symlink)
> 
>     /var/www/virtual/kirash is owned by kirash.kirash
>     /home/kirash/cgi-bin (the symlink) is also owned by kirash.kirash
> 
>     Now, why is it when I'm logged in on the server (through ssh) that I 
> can access that cgi-bin folder, put and delete files just fine, but if I 
> log in through plain old FTP, I can't switch to that folder?  I get 
> access denied.  But, if  log in through SFTP, it works just fine.  So 
> why won't vsftp let me access that folder?
> 

vsftpd by default puts all users in a chroot jail.
You need to modify /etc/vsftpd/vsftpd.conf to give your user access to
elsewhere on the drive.
 
> -- 
> R | I haven't lost my mind; it's backed up on tape somewhere.
>   +--------------------------------------------------------------------
>   Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
>   IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
>   Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
>   http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.
> 
> 




More information about the users mailing list