icacls misreports BUILTIN\Users:(RX) on C:\

icacls misreports BUILTIN\Users:(RX) on C:\

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
icacls misreports BUILTIN\Users:(RX) on C:\ Brian McCauley 02-06-2008
Posted by =?Utf-8?B?QnJpYW4gTWNDYXVsZXk= on February 6, 2008, 8:46 am
If you were  Registered and logged in, you could reply and use other advanced thread options
On a number of W2003 servers here, if I do

icacls C:\

I get...

C:\ BUILTIN\Administrators:(F)
BUILTIN\Administrators:(OI)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(F)
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
CREATOR OWNER:(OI)(CI)(IO)(F)
BUILTIN\Users:(RX)
BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
BUILTIN\Users:(CI)(AD)
BUILTIN\Users:(CI)(IO)(WD)
Everyone:(RX)

The ACE BUILTIN\Users:(RX) is wrong!

It *behaves* and indeed appears in the graphical DACL editing tool in
Explorer (Properties -> Security-> Advanced) as if it were

BUILTIN\Users:(CI)(OI)(RX)

(That is to say it does get inherited by objects and containers).

If I edit that ACE in Explorer - but save it without making any *visible*
change then it subsequently appears correctly in ICACLS.

Posted by Roger Abell [MVP] on February 8, 2008, 1:10 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi Brian,

I am sorry, but I do not understand what it is that you see
as the issue/error.

BUILTIN\Users:(RX)
BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
taken together are
BUILTIN\Users:(OI)(CI)(RX)

If as you say BUILTIN\Users:(RX) were wrong (i.e. being shown
in error by icacls when not in fact present), then Users would have
no grant to read files at c:\ nor to list the directory.
The other grants to Users do not carry read files or list directory:
BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
BUILTIN\Users:(CI)(AD)
BUILTIN\Users:(CI)(IO)(WD)
where the two with (IO) are "inherit only" (they have effect only
for accesses of what they inherit onto) and the one without only
grants ability to create subdirectories under D:\

When an ACL has been access with the NTFS permissions
dialog it is not at all uncommon for its ACEs to be reordered
and consolidated when the ACL is applied.

Roger

> On a number of W2003 servers here, if I do
>
> icacls C:\
>
> I get...
>
> C:\ BUILTIN\Administrators:(F)
> BUILTIN\Administrators:(OI)(CI)(IO)(F)
> NT AUTHORITY\SYSTEM:(F)
> NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
> CREATOR OWNER:(OI)(CI)(IO)(F)
> BUILTIN\Users:(RX)
> BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
> BUILTIN\Users:(CI)(AD)
> BUILTIN\Users:(CI)(IO)(WD)
> Everyone:(RX)
>
> The ACE BUILTIN\Users:(RX) is wrong!
>
> It *behaves* and indeed appears in the graphical DACL editing tool in
> Explorer (Properties -> Security-> Advanced) as if it were
>
> BUILTIN\Users:(CI)(OI)(RX)
>
> (That is to say it does get inherited by objects and containers).
>
> If I edit that ACE in Explorer - but save it without making any *visible*
> change then it subsequently appears correctly in ICACLS.



Posted by =?Utf-8?B?QnJpYW4gTWNDYXVsZXk= on February 8, 2008, 4:34 am
If you were  Registered and logged in, you could reply and use other advanced thread options


"Roger Abell [MVP]" wrote:

> BUILTIN\Users:(RX)
> BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
> taken together are
> BUILTIN\Users:(OI)(CI)(RX)

Ah, so (GR,GE) is the same as (RX).

That's what I didn't get.

Why is it written in different forms in the two ACEs?


Posted by Roger Abell [MVP] on February 10, 2008, 12:20 am
If you were  Registered and logged in, you could reply and use other advanced thread options
>
>
> "Roger Abell [MVP]" wrote:
>
>> BUILTIN\Users:(RX)
>> BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
>> taken together are
>> BUILTIN\Users:(OI)(CI)(RX)
>
> Ah, so (GR,GE) is the same as (RX).
>
> That's what I didn't get.
>
> Why is it written in different forms in the two ACEs?
>

Two separate notations, may be intermixed.
The grants in the initial NTFS view are the generics.
Use of icacls /? calls the older syntax the simple, and
the simples are made of the generics in the specifics.
Killer in English, but just icacls /?

Roger



Posted by =?Utf-8?B?QnJpYW4gTWNDYXVsZXk= on February 11, 2008, 4:14 am
If you were  Registered and logged in, you could reply and use other advanced thread options


"Roger Abell [MVP]" wrote:

> >
> >
> > "Roger Abell [MVP]" wrote:
> >
> >> BUILTIN\Users:(RX)
> >> BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
> >> taken together are
> >> BUILTIN\Users:(OI)(CI)(RX)
> >
> > Ah, so (GR,GE) is the same as (RX).
> >
> > That's what I didn't get.
> >
> > Why is it written in different forms in the two ACEs?
> >
>
> Two separate notations, may be intermixed.
> The grants in the initial NTFS view are the generics.
> Use of icacls /? calls the older syntax the simple, and
> the simples are made of the generics in the specifics.
> Killer in English, but just icacls /?

icacls /? does not explain the concept of generics.

Indeed it implies that GR is a separate right that is orthogonal to RD etc
but I'm getting the impression that GR in fact implies RD,RA,REA...

Similar ThreadsPosted
Help with file permissions and ICACLS.EXE problem August 3, 2007, 12:00 am

The site map in XML format XML site map

Contact Us | Privacy Policy