Macworld Forums: proftpd: DefaultRoot pointing to a FireWire-Drive? - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

proftpd: DefaultRoot pointing to a FireWire-Drive?

#1 User is offline   mad4you Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 28-March 03

Posted 28 March 2003 - 02:55 AM

Hi
I set up proftpd a few minutes ago and finally made it working.
My only problem is that proftpd automatically switches to the Home-Directory of the user, in whose context it's running.
I now want to point the DefaultRoot to /Volumes/EMULE/Music/, a FireWire-Drive connected to my iBook.
Any suggestions how to accomplish this?
Greets
Mario
0

#2 User is offline   Dr-NiKoN Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 741
  • Joined: 20-May 01

Posted 07 April 2003 - 11:01 AM

I run profftpd myself, Here is a snip from profftp.conf:
code:

ServerName "ftp.jale.ath.cx"
ServerType standalone
DefaultServer on
DefaultRoot ~


As you can see, DefaultRoot is set to ~, which basically means that each user will be put in their home-folder. You can change this to whatever you want(As long as it is a valid path in your fs).
If you are allowing guest or anonymous access, you should also be carefull to chroot your webserver. The last time I checked, OS X had problems with this. That was using lukem-ftpd though.
nikon
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users