530 User cannot log in, home directory inaccessible.

Discussion in 'Windows / IIS' started by iansml, Apr 19, 2010.

  1. Hi,

    I am able to FTP using my primary account: "123456|primaryuser". However, I don't want to give these details out to people who want to FTP to my site for obvious reasons. I created a user "ftpUser" and a directory "/ftp" and granted read/write permissions to ftpUser on this directory.

    The problem is that I'm getting this "530 User cannot log in, home directory inaccessible." when I try and log in with this "ftpUser" account. I've tried using "123456|ftpUser" as the username but no success - is the number the same as that used for the primary user for each user I create? what else could be causing this problem?

    Thanks
     
  2. dmitri

    dmitri DiscountASP.NET Staff

    You need to grant at least 'read' permission on your [root] directory to each of your additional users you create with your user manager. This is how IIS 7 implements permission management.

    Yes, this is correct to prefix all your ftp users with your customer ID followed by the pipe character like this: 123456|ftpUser
     

Share This Page