Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Consider following share rights:

Security \\dev\profiles\
rw – Administrators

Security \\dev\profiles\bambus02
inherited AND
rw – bambus02

Sharing \\dev\profiles
rw – Everyone

as "bambus02", my access to \\dev\profiles is denied, but access to \\dev\profiles\bambus02 is allowed with full rights - this is really wished behaviour, but the question is:

Why I am allowed to access a subfolder of a share, when on the path the higher folder (profiles) has access denied?

Is it not the way how the ACL checks works, checking all path segments from upper to lower and stopping when any of them is not allowed?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You will want to look at the Advanced Security Settings (detailed NTFS permissions) on the shared folder. Most likely, you'll find that your user account has the "Traverse folder / execute file" permission.

Even if you don't have this permission, the default settings are to bypass this restriction entirely.

For folders: The Traverse Folder permission applies only to folders. This permission allows or denies the user from moving through folders to reach other files or folders, even if the user has no permissions for the traversed folders. Traverse Folder takes effect only when the group or user is not granted the Bypass Traverse Checking user right. The Bypass Traverse Checking user right checks user rights in the Group Policy snap-in. By default, the Everyone group is given the Bypass Traverse Checking user right.

Source: KB Article 308419

share|improve this answer
    
advanced share and advanced security - there are no other (Traverse) rights, are they? –  peterson Nov 10 '11 at 10:43
    
ok, i understand your point, that should be the answer, thanks! –  peterson Nov 10 '11 at 10:47
    
Yes, from your screenshot it looks like your user bambus02 does not have explicit traverse rights. So Bypass Traverse Checking must be enabled then. –  Nic Nov 10 '11 at 10:49
1  
It should also be noted that removing the Bypass Traverse Checking privilege, although possible, is not supported. Windows assumes everyone will have it, and stuff may break if this isn't true. –  Harry Johnston Nov 15 '11 at 2:54
1  
@Nic, sorry, no, but see support.microsoft.com/kb/823659. I also found support.microsoft.com/kb/272142 but that's a bit out of date now. –  Harry Johnston Nov 15 '11 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.