Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry for the newb factor but I'm trying to set up a server using this guide:

I'm at the end of step 5 and when I try to restart proftp I get the following error message

me@me-desktop:~$ sudo service proftpd restart
 * Stopping ftp server proftpd                                                                       [ OK ] 
 * Starting ftp server proftpd
 Fatal: unknown configuration directive 'DisplayFirstChdir' on line 22 of '/etc/proftpd/proftpd.conf'

Any clues on how to change line 22?

share|improve this question
up vote 3 down vote accepted

The DisplayFirstChdir directive is deprecated. Comment it out and try again.

share|improve this answer
Thanks sir, shall I comment out the following code? <Directory> #DenyAll TransferRate RETR 50 <Limit WRITE> DenyAll </Limit> </Directory> – user784637 Nov 14 '11 at 10:33
This code make your ftp server is read-only. Also comment it out if you want to allow your users to upload. There's no need to find HOWTO anywhere, just read the document in the homepage first. – quanta Nov 14 '11 at 10:42
For any other readers: DisplayFirstChdir was deprecated, and replaced with DisplayChdir‌​. – Castaglia Jan 20 at 22:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.