• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2231
  • Last Modified:

Server 2008R2 - How to make top level folders "read only," but files and subfolders can be modified / deleted?

Folder structure on a Windows 2008R2 server, active directory environment is as follows:

- Shared Folder
        - Subfolder 1
        - Subfolder 2
        - Subfolder 3
                - SuperSub folder A
        - Subfolder 4
                - SuperSub folder B

etc...

The goal is to setup the Subfolders 1/2/3/4 to NOT be able to be deleted by the "employee group," but for that same group to be able to delete files in the subfolders along with the files and the "superSub folders".

Essentially, I don't want the employees to be able to delete the subfolders themselves, but have full control over everything in them, including more nested "supersub folders".

Tips appreciated on setting this up?
0
mikeshaver
Asked:
mikeshaver
  • 5
  • 4
  • 2
  • +1
1 Solution
 
pony10usCommented:
Give the "employee group" list or read only at the share level, apply to that and all subfolders and then at explicit modify at the folder that you want them to be able to manipulate the files in. This will also alow them to add additional sub folders under that folder.
0
 
footechCommented:
You would define read permissions on the Shared Folder, which would apply to "This folder, subfolders, and files".  Then for each subfolder (Subfolder1, Subfolder2, etc.), you would define the additional permissions for full control and apply it to "Subfolders and files only".  In case you're not familiar with the "apply to" parameter, you will see it when you go to Advanced Security settings, click Add, specify the group, then you will see the dropdown box above all the checkboxes for permissions.
0
 
mikeshaverAuthor Commented:
No love.  Doesn't seem to be working, or I'm missing something...  :(

Top Level folder is called "shared" and I've right clicked it, gone to sharing/advanced sharing/permissions, added the employee group and set the permission to "read" and left full control and change unselected.

Once the above is done, all subfolders/files and their 2nd level subfolders become non deleteable.  Seems like a good start.

Then I right click and go to the properties of a subfolder.  Go to the security tab.  Click advanced.  The employees group is there, with "full control" inherited from C:\shared (the top level folder) and apply to is "this folder, subfolder and files"

Click on "change permissions," then UNselect include inheritable permissions from this objects parent.  Click "remove" to remove inherited parent permissions from this object.

Then added Administrators group with full control to "this folder, subfolders, and files"
Then I added "employee group" with full control to "subfolders and files only" also with full control.  Did not select "apply these permissions to objects and/or containers within this container only"

At this point, the folder becomes invisible to the employee group.

I went back into the permissions for the subfolder.  Added another entry for the employee group for "this folder only" and set the permissions to "traverse folder/execute file, list folder/read data, read attributes, read extended attributes, create files/write data, create folders/append data, write attributes, write extended attributes, delete subfolders and files, read permissions, change permissions, take ownership"  Of note I purposely left out "delete" as we are on the apply to "this folder only"

The subfolder is now visible, but items can't be changed/deleted within it.  The folder itself cannot be deleted (good) but nothing inside it can be either.  I tried adding the "delete" permission back in to "this folder only" in reference to the subfolder, did not work.

The permissions appear to take the "most restrictive" (read only from the share level) and ignore the specific permissions we are assigning.

??
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
yo_beeDirector of ITCommented:
Can you post screenshots of your Security Settings?
Note: Please annotate any personal info.
0
 
pony10usCommented:
Share permissions and NTFS permissions are different.  The share permission are what you changed at the share. These permissions need to permit all users full control.

Then using the NTFS permissions (right clicking on the actual share and going into security like you do the sub folders) and set the "employee group" to read or list.
0
 
mikeshaverAuthor Commented:
Yup, here's the screens of what I've done.
Doc1.doc
0
 
yo_beeDirector of ITCommented:
Those are shared permission you posted.
I was looking for your Security settings.
You need to click on the security tab and navigate to the Advanced settings.

Security Settings
0
 
yo_beeDirector of ITCommented:
Sorry for the premature response. The images did not appear so I though that there were none.

Now that I see them. Is ZZZ your root shared folder as well?
0
 
mikeshaverAuthor Commented:
no, the root folder is called "shared" and the ZZZ is one of the folders underneath "shared".

Its the ZZZ folder I want to stop from being deleted, yet anything "under ZZZ" should be deleteable/editable.

Make sense?
0
 
yo_beeDirector of ITCommented:
Try changing the Share permission for the group to also include Change.
0
 
mikeshaverAuthor Commented:
Yaay!  That worked, thanks!
0
 
yo_beeDirector of ITCommented:
Others should have been given points as well. See if you can request a points redistribution. I was not the only one that helped, more assisted.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now