i setup my IIS to allow ppl can use ftp their website by to manage their site
but here come the problem
the users cant login to their site now (used to be good, but not anymore -_-||| )

log event is

user *** failed to logon, could not access the home directory /.

i am sure i do give permission to the users
all the users are in a group and give permission to the root of all the website directories

where the hell is the / anyway?

this thing is pissing me off for more than 3 days.......
just cant figure it out.....


any help will make me a happy man........

thanks

Dani AI

Generated

Short diagnosis: the event that the user "could not access the home directory /" normally means IIS authenticated the account but could not map or open the FTP site root for that user. The "/" in that message is the FTP root (the virtual FTP home), not the server C:\ root. The usual causes are a wrong/missing physical path, NTFS/share permission problems, or a user-isolation/virtual-directory mismatch.

Quick checklist to resolve it:

  • Verify the FTP site's configured home folder in IIS Manager actually exists and points to the intended physical path.
  • Confirm NTFS permissions on that folder (and on parent folders) allow the user or the group you added. Use Folder Properties -> Security -> Advanced -> Effective Permissions to test the exact account. Minimum for listing is Read & Execute / List folder contents; for uploads add Write/Modify.
  • If the home is a UNC path (\server\share) make sure both the share and NTFS permissions allow the account, or use an alternate service account (the FTP/virtual-directory "Connect as..." credentials) so IIS can access the share.
  • If you recently added users to a group, remember tokens update only at logon—have the user log off/log on (or restart the FTP service) so the new group rights take effect.
  • Check the FTP logs (%SystemRoot%\System32\LogFiles\FTPSVCn) and the System/Application event log for complementary errors.

Example (modern Windows) to give read/execute to a group (replace placeholders):

icacls "C:\inetpub\ftproot" /grant "DOMAIN\GroupName:(OI)(CI)RX"

As pointed out, the Explorer "Web Sharing" tab can create virtual directories in IIS, but it does not magically fix NTFS/UNC permissions for FTP users. Focus on the physical path and effective permissions first; once the folder and permissions are correct the "could not access the home directory /" events will disappear.

Recommended Answers

All 3 Replies

Do the folders have web sharing turned on?

web sharing?
what u mean web sharing?

Open up the windows explorer to browse your files. Right-click a folder and goto properties. You should see a web-sharing tab. Click that and the rest should be self-explanitory.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.