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.

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)


7 Responses to “pure-ftpd-mysql, [ERROR] Home directory not available – aborting”

  1. Rich Klein Says:


  2. Wow, you saved me there. I was banging my head on my keyboard as to why CreateHomeDir wasn’t working. Changing the owner of the root of the homedirs worked like a charm, thanks!

  3. […] don't use pureftp. So I can't offer any help from a personal experience standpoint. But I did find this page. The English is a little troublesome to puzzle out, but maybe it will help with your […]

  4. […] source2 source3 source4 Author: WladyX on 17 May, 2012 Category: Mysql, Ubuntu Older: Mail Log Analyzer – […]

  5. Fantastic post however I was wondering if you could write a litte more on this topic?
    I’d be very thankful if you could elaborate a little bit further. Appreciate it!

  6. thnx
    worked for me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: