If you want to give access to a subfolder of shared directory, you have two options.
- At a minimum, give
traverse folder / execute file
permissions to the root of the share and all parent folders of the subfolder you wish to grant access to.
- If you wish, you can deny (or not grant) the
list folder / read data
permissions to other subfolders in the share.
- We do this for our redirected user My Documents folders, so every user can access
\\DFSroot\Users\
, but can only see or access \\DFSroot\Users\[their username]\
. The value of prohibiting people from even seeing the other folders is questionable, IMO, but it's not that much extra work either.
- Create a new share in the subfolder, grant the desired permissions and access it through that new share.
If you really want to deny traverse folder / execute file
permissions higher up in the directory tree, you have to use option #2. I would argue that #2 is probably the better option in general, because it's more visible and therefore, more likely to get cleaned up after the fact than a group of ACLs that aren't displayed unless you go looking.