Odd vsftp issue

Charles Heselton charles.heselton at gmail.com
Sun Dec 11 22:07:23 UTC 2005


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not as familiar with vsftp, but there may be an option to
"FollowSymLinks  On", or something that you need to set.  I think
Jeroen as a very good point about the softlink, though.  Even with
this option on (if it exists for vsftp), you may not be able to do it
with the chroot.  One thing you can do is try a hard link ('ln'
without the '-s') or mount a local directory to one that would be
available in the chroot using the '--bind' option.

# mount --bind /home/kirash/cgi-bin /var/www/virtual/kirash

Etc.

- --
- - Charlie
 
5A27 58D2 C791 8769 D4A4  F316 7BF8 D1F6 4829 EDCF
 
 In memoriam:  http://www.militarycity.com/valor/1029976.html


 

> -----Original Message-----
> From: fedora-list-bounces at redhat.com 
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Ashley 
> M. Kirchner
> Sent: Sunday, December 11, 2005 9:51 AM
> To: For users of Fedora Core releases
> Subject: Odd vsftp issue
> 
> 
>     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?
> 
> -- 
> 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.
> 
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQ5yjGnv40fZIKe3PEQJA3gCgiS8kqRrlMo/hZlPMQ4dRSY6xFv8AnAoc
m7ERpY0kVkyW6A8vIQQJxd0K
=qQfu
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list