LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-27-2005, 03:16 AM   #1
0001001
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
"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!
 
Old 11-27-2005, 03:36 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You can use a link, like this:

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


HTH
 
Old 11-27-2005, 04:01 AM   #3
0001001
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
hm,

it creates a link but as a ftp user you can't change to this directory.
 
Old 11-27-2005, 04:23 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 04:05 PM
System Information Made Easy : Contains of "/proc" folder in details thandermax Linux - News 4 01-17-2006 05:16 PM
How to creat a gnome desktop shortcut to "my_music" folder? hkl8324 Linux - Newbie 1 07-04-2005 12:01 AM
SuSE Linux Equivelent of Windows "Startup" Folder Kamex SUSE / openSUSE 3 02-24-2005 12:04 AM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration