LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   "Mount" a folder into my ftp folder ? (http://www.linuxquestions.org/questions/linux-general-1/mount-a-folder-into-my-ftp-folder-386907/)

0001001 11-27-2005 03:16 AM

"Mount" a folder into my ftp folder ?
 
My ftp server uses a folder called ftp-docs for all ftp logins. But I need to "mount" another folder called files into this ftp-docs folder.
If everything works, a user can login to the ftp and is placed in the ftp-docs folder. Then there's a folder called files, if he opens this folder he's directed to the "real" files folder.

how can I do this? Can you even mount folders or does it work with symbolic links?

thanks in advance!

tredegar 11-27-2005 03:36 AM

You can use a link, like this:

cd /path/to/ftp-docs
ln -s /path/to/realfiles/folder


HTH

0001001 11-27-2005 04:01 AM

hm,

it creates a link but as a ftp user you can't change to this directory.

tredegar 11-27-2005 04:23 AM

Then you'll have to give the appropriate permissions (Owner / Group / rwx) permissions to the files folder.


All times are GMT -5. The time now is 08:07 AM.