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.

I have the following folder structure:

A
|--B
|  |--C
|  |--D
|
|--E
   |--F
   |--G

Each sub-sub folder (C,D,F,G) has a corresponding AD group. I want allow only users who are members of a sub-sub-folder's group to access it, but i still want to allow the sub folders (B,E) to be browsed by everyone. (i.e. people can see C,D,F,G but cant access their contents)

I hope that makes sense.

I tried to do this:

Edit the permissions of the sub folders (B,E) and turn off "inherited permissions", but copied them rather than removing them. I then set them to not cascade down to children (this folder only).

This mean't that i could create the sub-sub folders (C,D,F,G) but then couldn't access them. This is what i wanted and as i expected. I then planned to add modify rights to the sub-sub folders for their respective groups, and added myself to a couple of the groups to test it out.

However, when i tried to assign the group-modify permission i get a generic "access denied" message. I thought it might be because i didnt have change permission rights on the sub-sub folders, so i modified the sub folders to cascade down "Change permissions" but that didnt help :(

Any ideas why I cant get this to work? I'm in Windows server 2008r1

All the users are Administrators by the way (this has to be the case)

Edit: I don't want to assign deny rights to all the groups that are not allowed to access a particular sub-sub folder as in reality this tree will be massive and that would create a maintenance nightmare!

Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

On Folder A:
Set Everyone to Read & Execute
Set System to Full Control

On Folders B & E:
Enable Inheritance - Remove any explicit permissions

On Folders C, D, F, G:
Disable Inheritance - Remove All Permissions
Set [Corresponding Group] to Modify

Users will be able to override and change these permissions if they are Admins, there's no way around that.

share|improve this answer
    
yeah i dont mind that they could override it, company policy can govern that. i just want to make it so inorder to see that data, they'd have had to deliberately hacked in. ill try your suggestion... –  Andrew Bullock Sep 1 '10 at 15:11
    
Ive done this, but then i cant get into C,D,E,F "You do not currently have permission to access this folder". I am in the group which i have granted Modify to. :( –  Andrew Bullock Sep 1 '10 at 15:24
    
Did you just create the groups, or add yourself to the group since you last rebooted your computer? If so, restart your computer. –  Chris S Sep 1 '10 at 15:27
    
Admins do not need to have full control. They only need read/change perms and traverse folder –  Jim B Sep 1 '10 at 15:32
1  
You shouls also consider enabling Access Based Enumeration (this might also reduce your permission/folder count) see technet.microsoft.com/en-us/library/dd772681(WS.10).aspx –  Jim B Sep 1 '10 at 15:37

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.