Solved

NTFS permissions. Prevent root directory from being deleted.

Posted on 2007-12-02
4
854 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
ID: 20393283
That setup looks right based on your requirement. Deny only the single permission "Delete" (current Folder).
0
 

Expert Comment

by:tigs81
ID: 20393608
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
ID: 20393651
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
ID: 20393665
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Know what services you can and cannot, should and should not combine on your server.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

776 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