I have been breaking my head over this seemingly simple problem. I want to provide FTP access to specific folder to a specific user on my server. This is what I did.
- Create a new user, let's call him John
- Gave new user (John) full permissions on the folder that I want to open up. Let's call the folder
myfolder
- In IIS7 create a new FTP site: Add new FTP site. I set
myfolder
as the Home Directory. As far as bindings, I pick all unassigned IP's, port 21 and a specific subdomain/ domain that points to this server. I checked that. - In the next screen, for Authentication, I check
Basic Authentication
and I grant read / write access tospecific users
, in this caseJohn.
I have played around with some of the other settings as well, but whatever I do, I get the same error:
530 User cannot log in, home directory inaccessible.
No need to mention, I checked the Windows permissions on that folder 100 times over. User John
has full access to folder myfolder.
Using Windows Server 2008 R2