Home > System > pure-ftpd-mysql, [ERROR] Home directory not available – aborting

pure-ftpd-mysql, [ERROR] Home directory not available – aborting

groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c “pureftpd user” -g ftpgroup ftpuser

Instead of this dummy ftpuser account setting when they want to create real linux account.
they may get this error “Home directory not available – abort” even if they set CreateHomeDir to yes.

Solution:
the last existing in the home path should be own by root.
for example, we want to create somebody’s home directory when he log in, /home/ftpuser/somebody
then the last existing directory ‘ftpuer’ may look like this,
drwxr-xr-x 2 root ftpgroup 4096 2008-04-15 11:20 ftpuser

[pure-ftpd] CreateHomeDir problem (“[ERROR] Home directory not available – aborting”)
Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On Ubuntu 7.10 (Gutsy Gibbon)

Categories: System Tags: , , , ,
  1. Kent
    August 14th, 2009 at 23:35 | #1

    Thanks, this was helpful to me alot

  2. April 9th, 2010 at 16:36 | #2

    thank you it, helped me as well.

  3. July 16th, 2010 at 12:45 | #3

    Hmm… thanks a lot mate! U;re the only one who gives the real answer for this problem, apart from the typical answers : chec u’re log, check firewall..

    I was throwing away a lot of ftp users is different parts of my file system, so i was in doubt why in some places the folder was created and in others it was not.

    Tested on Ubuntu 9.04 , 8.04 and 10.04 .
    You helped me a lot with this problem of pure-ftpd.

  1. No trackbacks yet.