I've created a directory named "Shared" in my "My Documents" directory (C:\Users\Cory.MYDOMAIN\Documents\Shared). I right clicked on the Shared folder and publicly shared this one directory. At least that's what wanted to do. In reality, Windows 7 shared the entire C:\Users directory.
How can I share this one subdirectory without granting access to the rest of the C:\Users tree?
Edit: Thanks to MarkM, I now have shared only what I wanted to share. In case this trips up anybody else, I'm adding this edit to reveal what I learned while resolving this:
- Right clicking on the folder and sharing with the "Share with" option is different than right clicking, opening the properties, and using the Sharing / Advanced Sharing option.
- You can see what you have shared by:
- Run fsmgmt.msc
- In a cmd.exe window, type "net share"
- This is not an uncommon problem for users.
- You can prevent this from accidentally happening again by turning off the sharing wizard. Open Folder Options in the control panel, click the view tab, then scroll down and uncheck "Use Sharing Wizard (Recommended)".