LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2010, 06:02 AM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
vsftp and proftp


Hi folks, happy new year to you all.

As my hd space is dwindling again! I wanted to use symlinks, in my annon ftp dir. I was running vsftp, but everyone says it can't be done. So I have changed to proftpd.

I link to the annon ftp server on my website. I get the dir listing, with symlinks, but try to follow them I get error 550, it don't exist.

I have read http://www.proftpd.org/docs/howto/Chroot.html, but after following the advice here. I get the same error.

I have not tried the mount bind option, as I want symlinks or hard links either will do.

Could some one give me apointer as to how to do this please.

oh Ubuntu jaunty
 
Old 01-17-2010, 11:27 AM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Where do you want the symlinks pointing? The Linux chroot works in a way, that the symlink targets are relative to the chroot, so you might reconsider that.
 
Old 01-18-2010, 02:54 AM   #3
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by janoszen View Post
Where do you want the symlinks pointing? The Linux chroot works in a way, that the symlink targets are relative to the chroot, so you might reconsider that.
Even though I have been using ubuntu for over a year now, there's still plenty to learn. chroot for example in my case.

I got around the problem, by mounting a "spare" drive in the ftp root ie

/home/ftp

now under /home/ftp/space

where I have mounted /dev/sda2 space or whatever it is.

what would have like is:

/home/ftp/pub/symlink->morespace with this pointing to
~/otherdisk/ftp

obviously sda2 would have been mounted at otherdisk, and a ftp dir would have been on it. it showed up, on dir list, but wouldn't change to it.
 
Old 01-18-2010, 03:01 AM   #4
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Bind mount

Do a search for bind mount, it works much like symlinks but works across the chroot boundary.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftp jagdishpsp Linux - Newbie 3 11-14-2008 05:30 AM
vsFTP or ProFTP plus upload question shad061 Linux - Software 4 04-01-2004 06:42 PM
proftp Orion Pax Mandriva 1 11-01-2003 12:57 AM
ProFtp bnumark Linux - Software 5 06-28-2003 03:36 PM
ProFTP KillerCheeto Linux - Newbie 6 11-10-2002 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:18 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