Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   MCSA (http://www.velocityreviews.com/forums/f50-mcsa.html)
-   -   Totally confused with this NTFS scenario! (http://www.velocityreviews.com/forums/t660605-totally-confused-with-this-ntfs-scenario.html)

John 11-27-2006 10:15 AM

Totally confused with this NTFS scenario!
 
Can someone please tell me why this is not working?
I'm using xp sp2 with the NTFS file system.

Scenario:

* Using the admin account, I created a standard user, named "User1"

* I have a folder at the root of C:\ called "DATA"

* I disabled inheritance for "C:\DATA" Via the admin account

* I removed all entries from the C:\DATA folder's ACL and added the
users group "Full Control" for "This Folder, Subfolders, and Files"

* Under the C:\DATA folder I created a text document called TEST.TXT

* On TEST.TXT, i disabled inheritance, removed all entries on the ACL,
and then and added only one entry to the ACL which is set to: User1
to have Read-only access.

Now, when I log into xp using the User1 account, i can access the
TEST.TXT file as expected, but I am able to delete it. Why is this
the case if User1 has only read permissions on that file? I thought
that by shutting off inheritance for individual files enables you to
have more granular control over objects via their own ACL. I thought
i would have received an access denied message. Why is it still
looking at the Users Group "Full Control" setting on the parent folder
if I shut off inheritance for the TEST.TXT file? How do I do a
workaround?

John


Dragon Without Wings 11-27-2006 07:31 PM

RE: Totally confused with this NTFS scenario!
 
"John" wrote:

> Can someone please tell me why this is not working?
> I'm using xp sp2 with the NTFS file system.
>
> Scenario:
>
> * Using the admin account, I created a standard user, named "User1"
>
> * I have a folder at the root of C:\ called "DATA"
>
> * I disabled inheritance for "C:\DATA" Via the admin account
>
> * I removed all entries from the C:\DATA folder's ACL and added the
> users group "Full Control" for "This Folder, Subfolders, and Files"
>
> * Under the C:\DATA folder I created a text document called TEST.TXT
>
> * On TEST.TXT, i disabled inheritance, removed all entries on the ACL,
> and then and added only one entry to the ACL which is set to: User1
> to have Read-only access.
>
> Now, when I log into xp using the User1 account, i can access the
> TEST.TXT file as expected, but I am able to delete it. Why is this
> the case if User1 has only read permissions on that file? I thought
> that by shutting off inheritance for individual files enables you to
> have more granular control over objects via their own ACL. I thought
> i would have received an access denied message. Why is it still
> looking at the Users Group "Full Control" setting on the parent folder
> if I shut off inheritance for the TEST.TXT file? How do I do a
> workaround?
>
> John
>
>


Principal rule for NTFS permission: "NTFS permissions are cumulative". This
means that a user's effective permissions are the result of combining the
user's assigned permissions. If your User1 is belong to the User Group then
he will have Read and Change permissions on that TEST.TXT file which in turn
allows him to delete the file.

AJR 11-27-2006 10:17 PM

Re: Totally confused with this NTFS scenario!
 
In addition to "dragon without wings's" reply - in creation of the file did
"user1" become the owner?

"Dragon Without Wings" <DragonDance@LordofTheRing.com> wrote in message
news:2A57650C-603B-46F0-9921-34AF4AACB494@microsoft.com...
> "John" wrote:
>
>> Can someone please tell me why this is not working?
>> I'm using xp sp2 with the NTFS file system.
>>
>> Scenario:
>>
>> * Using the admin account, I created a standard user, named "User1"
>>
>> * I have a folder at the root of C:\ called "DATA"
>>
>> * I disabled inheritance for "C:\DATA" Via the admin account
>>
>> * I removed all entries from the C:\DATA folder's ACL and added the
>> users group "Full Control" for "This Folder, Subfolders, and Files"
>>
>> * Under the C:\DATA folder I created a text document called TEST.TXT
>>
>> * On TEST.TXT, i disabled inheritance, removed all entries on the ACL,
>> and then and added only one entry to the ACL which is set to: User1
>> to have Read-only access.
>>
>> Now, when I log into xp using the User1 account, i can access the
>> TEST.TXT file as expected, but I am able to delete it. Why is this
>> the case if User1 has only read permissions on that file? I thought
>> that by shutting off inheritance for individual files enables you to
>> have more granular control over objects via their own ACL. I thought
>> i would have received an access denied message. Why is it still
>> looking at the Users Group "Full Control" setting on the parent folder
>> if I shut off inheritance for the TEST.TXT file? How do I do a
>> workaround?
>>
>> John
>>
>>

>
> Principal rule for NTFS permission: "NTFS permissions are cumulative".
> This
> means that a user's effective permissions are the result of combining the
> user's assigned permissions. If your User1 is belong to the User Group
> then
> he will have Read and Change permissions on that TEST.TXT file which in
> turn
> allows him to delete the file.




John 11-28-2006 04:43 AM

Re: Totally confused with this NTFS scenario!
 
No, TEST.TXT was created with the adminstrator account, so the admin
is the owner.


On Mon, 27 Nov 2006 17:17:31 -0500, "AJR" <ajrjdr@comcast.net> wrote:

>In addition to "dragon without wings's" reply - in creation of the file did
>"user1" become the owner?
>
>"Dragon Without Wings" <DragonDance@LordofTheRing.com> wrote in message
>news:2A57650C-603B-46F0-9921-34AF4AACB494@microsoft.com...
>> "John" wrote:
>>
>>> Can someone please tell me why this is not working?
>>> I'm using xp sp2 with the NTFS file system.
>>>
>>> Scenario:
>>>
>>> * Using the admin account, I created a standard user, named "User1"
>>>
>>> * I have a folder at the root of C:\ called "DATA"
>>>
>>> * I disabled inheritance for "C:\DATA" Via the admin account
>>>
>>> * I removed all entries from the C:\DATA folder's ACL and added the
>>> users group "Full Control" for "This Folder, Subfolders, and Files"
>>>
>>> * Under the C:\DATA folder I created a text document called TEST.TXT
>>>
>>> * On TEST.TXT, i disabled inheritance, removed all entries on the ACL,
>>> and then and added only one entry to the ACL which is set to: User1
>>> to have Read-only access.
>>>
>>> Now, when I log into xp using the User1 account, i can access the
>>> TEST.TXT file as expected, but I am able to delete it. Why is this
>>> the case if User1 has only read permissions on that file? I thought
>>> that by shutting off inheritance for individual files enables you to
>>> have more granular control over objects via their own ACL. I thought
>>> i would have received an access denied message. Why is it still
>>> looking at the Users Group "Full Control" setting on the parent folder
>>> if I shut off inheritance for the TEST.TXT file? How do I do a
>>> workaround?
>>>
>>> John
>>>
>>>

>>
>> Principal rule for NTFS permission: "NTFS permissions are cumulative".
>> This
>> means that a user's effective permissions are the result of combining the
>> user's assigned permissions. If your User1 is belong to the User Group
>> then
>> he will have Read and Change permissions on that TEST.TXT file which in
>> turn
>> allows him to delete the file.

>



Dragon Without Wings 11-28-2006 03:56 PM

Re: Totally confused with this NTFS scenario!
 
"John" wrote:

> No, TEST.TXT was created with the adminstrator account, so the admin
> is the owner.
>
>



Let me repeat it again: "NTFS permissions are cumulative". NTFS permission
inheritance is just for a network admin's convenience. Just imagine an
admin's nightmare without NTFS permission inheritance, he would have had to
go through every single folder and file just to set appropriated permissions.
Disable file/folder inheritance (static inheritance) is not strongly
recommended because it will create more headache later on if you have to
troubleshoot file/folder permissions. If you just want the User1 to have
Read only access to the file TEST.TXT, then create a new security group,
let's just say Restricted Users, and add him in. Now the User1 is a member
of both Restricted Users and Users groups. On the DATA folder, set all
entries in the ACL that you don't want them to have access to the folder to
DENY (make sure the User1 is not a member of any of those), and add those two
groups in. Remember, Deny always overdrives other permission, therefore give
the Users group Full Control permission, and the Restricted Users group Read
& Execute (Which will include Read and List Folder Contents). Now, you don't
want the User1 to be able to delete the TEST.TXT file (which he still is
now). Click on Advance to go to Special permissions and select the
Restricted Users group. Edit the permission to which will Deny this group
from Delete and Delete Subfolders and Files.
Hope this will help.

Rafael Santos 11-28-2006 05:31 PM

Re: Totally confused with this NTFS scenario!
 
Well, my english is terrible but i'll give my 2c...

If you just deny everything but reading for User1 it will work fine.

But you have to explicit deny, if you just let them unchecked the OS will
use the folder permissions.

It looks like you just did not check the deny options for user1 and just
leave the permissions implicit.

Hope you can understand me... :P

--
Rafael Santos
Criterium Business Mobile
Porto Alegre - RS - Brasil
www.criterium.com.br



All times are GMT. The time now is 03:57 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57