Question

home directory inaccessible - unable to login FTP server on IIS 6.0

Asked by: simplyamazing

Hi all,

I have a Win2003, standalone, server with service pack 1 for windows server 2003 on it.
The problem is that, no matter what I do, I can't seem to get any FTP accounts to work. (I've done this dozens of times on W2K3 before and this one has got me completely stumped - the only difference now is that this is Service Pack 1 and the others were not - so it is probably a new "feature" from MS).

Here goes:
I set up a group called FTPUSERS, gave it "Log On Locally" rights in the local policy.
Then I created several user accounts.
Each account has a login name matching its virtual folder.
The permissions on the folder(s) are set for all the ftp users and groups.

When I try to FTP into the server, I get the "user fred cannot login, home directory inaccessible" error.  (no matter the  user)

After verifying the passwords, logins, turning off the firewall, giving full control permissions to the user(s) and to the FTPUSERS group and basically making the server completely open (to attack), I STILL CANNOT LOG IN!

I've done this so many times before, I am completely baffled as to why this is happening now. It's a completely brand new machine with no other services running except IIS 6.

I checked Microsoft's site for a patch or bugfix with no luck.
I'm certain it has to do with Service Pack 1 as I've never had problems with this before but I cannot uninstall the Service Pack.

Anyone?




This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-05-27 at 14:06:16ID21866201
Tags

directory

,

home

,

ftp

,

inaccessible

,

iis

Topic

Microsoft IIS Web Server

Participating Experts
7
Points
500
Comments
17

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Inaccessible Removable Devices
    My sister has a 433 MHz Pentium III machine running Win2K, all current service packs etc. She is suddenly getting a message about removable devices being inaccessible: "Here we go again. More computer problems....it never seems to end. Now I can't access the floppy, C...
  2. 2003 Server FTP - getting Home Directory Inaccessible …
    This is a new server, running 2003 Server. I am moving our FTP service to the new server. FTP is used primarily by our clients to upload data files for us to process. I set up FTP for isolated access without A/D. All permissions look to be okay, and log on locally is enabled ...
  3. FTP is inaccessible from the internet: ISA Error
    FTP is inaccessible from the internet. It is accessible within the local network. The FTP Server is located on a Windows 2003 Small Business Server which has ISA Server 2000. The server is the Domain, Web Server, Exchange Server, and Internet Gateway. When Windows Server SP2...
  4. cannot login with ftp, home directory inaccessible
    I have a web server named WEB1 and I've also setup ftp server on it. It's running Windows Server 2003. I've created a new FTP site on port 2121 and assigned a home directory of c:\inetpub\wwwroot\ccc. I created a new user named User1 and I've assigned it full rights to the...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: simplyamazingPosted on 2006-05-27 at 18:40:50ID: 16777669

I tried this:
http://support.microsoft.com/?id=200475

but none of their suggestions work.

I checked out dozens of posts like this, but "Log On Locally" is set for the group, so my situation must be unique.

 

by: meverestPosted on 2006-05-27 at 21:56:28ID: 16778015

Hello,

take a look at the event viewer application log, and the ftp service log for further clues.

Cheers.

 

by: dnojcdPosted on 2006-05-28 at 00:46:11ID: 16778591

make sure you have read permission on the default ftp site  ftp folders.mainly this error used to come in that situation

for testing try to login with the adminstrator credentials. are you using and third party ftp client ?
http://support.microsoft.com/?id=221934

 

by: simplyamazingPosted on 2006-05-28 at 09:00:26ID: 16779705

"530 User fred cannot log in, home directory inaccessible."

fred is a member of Administrators (for testing)

fred has explicit "full control" rights to the folder "c:\SITES\fred"

the main site:  "ftpsites" points to "C:\SITES\null"
- this is wide open with read/write permissions
- the folder is set to EVERYONE with "full control" permissions
- the user "fred" is also set to "full control" permissions

the virtual folder "fred" points to "C:\SITES\fred", the name is "fred" matches the user name "fred" (if anyone has seen this before, the behavior of IIS is such that, if a user name matches a virtual folder name, then that FTP user goes to that virtual folder.
"C:\SITES\fred" gives fred "full control" as well as the administrators group of which fred is in (temporarily anyway), this is fred's home directory.  I can give EVERYONE "full control" and the error is the same as above.

 I have several Windows 2003 servers that have been set up in this fashion (though they were all set up before SP1, applying SP1 to these had no effect on the security settings, more interesting, is that, on 2 of the servers, none of the current FTP users have the "Log On Locally" permission set and they work just fine, go figure).

To eliminate the FTP client (WS FTP) as a suspect, I can go to the server via RDP, open IIS, and find the virtual FTP folder, right-click, select "Browse" and it asks for a login and password, all accounts are rejected including the Administrator's account.  This is actually the best test for FTP login problems.

So it looks like there is a policy somewhere that is preventing any user including administrators from accessing the folders via FTP.






 

by: meverestPosted on 2006-05-28 at 15:55:50ID: 16781063

Hello,

Yes, I suspect you are right that there is a group policy issue preventing the log on locally right from being applied.  (This is usually only an issue when the server is a domain controller)

Check the relevant policy config - you will need to make sure that it is set for the domain as well as for the server (or whichever overrides the other)

Cheers,  Mike.

 

by: kenpemPosted on 2006-05-28 at 18:24:07ID: 16781429

Silly question - have you double-checked that the default home directory for the FTP service exists and is accessible to all? The error message does not specifically mention permission failure or login faults - it complains about the home directory itself.

Also worth checking - does the system "user" IWAM/IUSR... have access rights?

 

by: shambhusingh2004Posted on 2006-05-28 at 23:13:37ID: 16782175

Pls make sure that you have defined Everyone/FTP group permission on Inetpub/ftproot(Read).

Warm Regards,

Vipin Gupta

 

by: simplyamazingPosted on 2006-05-29 at 07:05:17ID: 16784241

I've given everyone permission to the base FTP folder and the user folder as well as the user.
Even though the other servers do not have permissions set for IWAM and IUSER and work fine, I went ahead and added those accounts with full control.  Right now all accounts have full control (modify) on the folder in question.
It's still locked down tight.

There is no domain policies as this is not a domain controller nor is it on a domain.  It was originally set up as a DHCP server, but that role was removed.

Maybe a user account is missing?
Here's all the users on the machine:
Administrator, ASP.Net, Guest, Fred, IUSER_THETA, IWAM_THETA, and SQLDebugger

Here's all the groups/users in "Allow Log On Locally" (I deleted FTPUSERS group for now until I can figure this out)
Administrators, Backup Operators, IUSR_THETA, Power Users, THETA\Fred, Users

the "C:\SITES\NULL" and "C:SITES\Fred" folders permissions:  Administrators(full),Everyone(full),Fred(full),Internet Guest Account(full),Launch IIS Process ACcount(full), SYSTEM(full), Users(full)

There must be a hidden policy somewhere that is denying access.
 I've recreated the users, re-created the FTP site.
I've verified that the "effective" permissions showing full control for "Fred" (and all users mentioned above).

Is there any way to re-set the policies to defaults?

TIA



 

by: kenpemPosted on 2006-05-29 at 09:48:17ID: 16784908

Try opening a local FTP session - does that work? If so, is Windows Firewall getting too clever?

 

by: simplyamazingPosted on 2006-05-29 at 10:16:47ID: 16785054

I tried that with several accounts.  It disallows that as well.
I wasn't sure whether I had to type in the server name too, so I tried THETA\fred and fred by itself, but it won't even let the Administrator account in.

I'm uninstalling IIS (using the configure your server wizard) and then I'll be re-installing it to see if that helps.

 

by: simplyamazingPosted on 2006-05-29 at 10:37:24ID: 16785133

no, that didn't work.  if only MS would come up with a "policy reset" so reinstalling the OS would not be necessary every time something like this gets messed up.
:(

Right now I'm removing SP1 and all the updates, then I will try again. It that fails, then I have to reinstall the OS.

 

by: simplyamazingPosted on 2006-05-29 at 10:55:23ID: 16785217

warning to all: do not uninstall SP1 for Windows Server 2003.  
The server is now dead... DOH!

Thanks for everyone's help, I won't be able to get back to the machine for a week or so (in a datacenter I can't get to w/o paying them 100/hr to babysit).

 

by: kenpemPosted on 2006-05-29 at 10:57:00ID: 16785226

ooooh dear!

Ah well, chances are when you re-configure everything will just work the way it usually does.

 

by: Dave_DietzPosted on 2006-05-30 at 08:26:19ID: 16790537

Did you by any chance configure the FTP site to use either AD or Non-AD User Isolation when you initally created it?

If so it would explain the problem you were experiencing.

Dave Dietz

 

by: simplyamazingPosted on 2006-05-30 at 15:46:39ID: 16794315

OMG!
I did set it to "User Isolation".   I should have read closer - it said that the User Isolation requires a subdirectory under the root.
DAng! I baked a server over sheer stupidity.  I should be fired (oh wait, I'm the boss... maybe I should hang up developing for the web and just raise chickens or something :>)   or a person w/o "A.D.D.".

The other servers worked in that mode because all of the virtual directories were subdirectories of the root FTP.
 

 

by: anthonymawPosted on 2008-12-22 at 15:22:22ID: 23230483

The simple straight answer:  

If the FTP user account is on a Domain Controller AND User IIS 6 FTP Isolation Mode is enabled, then you just need to set up the directory structure:  

c:\inetpub\ftproot\<domain>\<username>  

If the IIS 6 FTP server is a standalone or member server AND the FTP user account is a local account on the server, then set up the home directory directory structure as:

c:\inetpub\ftproot\localuser\<username>

 

by: tuncayulusoy67Posted on 2009-12-11 at 07:01:06ID: 26028732

Check that ftp user in Users group.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...