FTP Login

Brian Gaynor briang at pmccorp.com
Tue Sep 6 23:30:19 UTC 2005


On Tue, 2005-09-06 at 17:43 -0500, Gregory P. Ennis wrote:
> Paul,
> 
> I am sure there is a more elegant way to do this, but you could put a
> soft link in the user's home directory "ln -s /var/www/html/images"
> which would give him access to the desired directory.  You will need to
> make sure the permissions for access to /var/www/html/images are set as
> well.

> On Tue, 2005-09-06 at 13:40 -0700, paul wrote:
> > I need to have an ftp program login as a user and get access to 
> > /var/www/html/images directory
> > The way things are now the program drops everything in the users home dir.
> > How can I change this?

If you are running your ftp server chrooted you will need to make this a
hard link:

	mount --bind /var/www/html/images /home/<user>/images

-- 
Brian Gaynor
www.pmccorp.com
FC4/Linux on DELL Inspiron 5160 3.0Ghz 
canis 16:26:44 up 7:55, 1 user, 
load average: 1.78, 0.58, 0.41 





More information about the fedora-list mailing list