Solved

NTFS permissions. Prevent root directory from being deleted.

Posted on 2007-12-02
4
849 Views
Last Modified: 2008-02-01
Hi All,

I'm after your opinions on the following.

I have a folder e:\templates. This folder contains all the word doc templates for the company organised into sub-folders. All the sub-folders and files receive their permissions through inheritance.

There are 2 groups of users for this folder: dlg_templatesREAD and dlg_templatesMODIFY

The dlg_templatesREAD group has the following permission setup.
e:\templates (This folder, sub-folder, files)
dlg_templatesREAD   List Folder Contents
                                  Read

The dlg_templatesMODIFY group need to be to create\edit and delete folders and files except delete the e:\templates root folder. This group has the following permission setup:
e:\templates (This folder)
dlg_templatesMODIFY DENY Delete
e:\templates (This folder, sub-folders, files)
dlg_templatesMODIFY   Modify

I have tested a number of different permission configurations but the above seems to work the best. (I do know that deny is bad practice)

Does anybody have any suggestions?.

Thanks in advance.

0
Comment
Question by:ReefIT
  • 2
4 Comments
 
LVL 25

Expert Comment

by:imitchie
Comment Utility
That setup looks right based on your requirement. Deny only the single permission "Delete" (current Folder).
0
 

Expert Comment

by:tigs81
Comment Utility
I would set it up so that both groups have read and excute on This folder, sub-folder, files for the permissions for the e:\templates folder.
Then have setup within the permissions on e:\templates folder
dlg_templatesMODIFY,  give modify permissions on subfolders and files only

this means that there is no deny permission used and also allows users in other groups to be able to delete the e:\templates folder as required eg domain admins, assuming that it is also in the permissions as full control.
0
 
LVL 10

Expert Comment

by:Cro0707
Comment Utility
Why you don't simple turn off object inherit from parent on e:\templates and set permission manualy?

Hope this help.
0
 
LVL 25

Accepted Solution

by:
imitchie earned 500 total points
Comment Utility
My assumption was that the questioner is setting up a root folder, and to give the MODIFY group full permissions on all child folders (which can incidentally be created and deleted at will).  Removing inheritance will be too much of a pain. But to Deny them the one thing they cannot do (delete root) makes the most sense.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now