Hi,

The FTP server does a 'chroot' to the default FTP directory, for security
reasons. The idea is not to let an ftp client roam over your entire disk.

'chroot' changes the root directory of the process, so that anything out of
the /home/ftp is effectively invisible.

Your options are:

A. change the root directory of the ftp service (via the '-r' option - see
man ftpd)

B. move /home/abc to /home/ftp/abc, and symlink from /home to /home/ftp/abc

I'd go with B.

        Cheers,

                Rony

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, October 30, 2001 10:04 AM
To: [EMAIL PROTECTED]
Subject: [expert] FTP access to other folder


Hi all

The FTP service on my Linux box defaults to /home/ftp which contains the
folders: bin, pub, ....
I have some files in /home/abc and want to give FTP access to this folder.

I know that one option is to move /home/abc to /home/ftp/abc, but this will
be my last resort.

I tried creating a symbolic link:
     [root@linux /ftp]#ln -s /home/abc abc

However, when I try to access the folder with an FTP client, I get the
error message:

     Requested action not taken (e.g., file or directory not found, no
access).

Is it possible to give access both to the current folder in /home/ftp and
to /home/abc?
Else, how can I change the default folder which the FTP server accesses?

Thanks for your help.
TRUS




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to