Vista file permission problem

Posted: 01-09-2007, 05:11 AM
I'm trying to edit a file in a subfolder of 'Program Files' and get an
access denied error when trying to save. I'm logged in as a member of local
administrators group and effective permissions show that I have full
control.

What's going on?

Thx.

--
Guy Yardeni



Reply With Quote

Responses to "Vista file permission problem"

mikeyhsd
Guest
Posts: n/a
 
Re: Vista file permission problem
Posted: 01-09-2007, 01:54 PM
first thing that comes to mind is
is the program currently running.



mikeyhsd@sport.rr.com



"guyyardeni" <guyyardeni@removethis.bfdmail.net> wrote in message news:ucO2oy6MHHA.4376@TK2MSFTNGP03.phx.gbl...
I'm trying to edit a file in a subfolder of 'Program Files' and get an
access denied error when trying to save. I'm logged in as a member of local
administrators group and effective permissions show that I have full
control.

What's going on?

Thx.

--
Guy Yardeni



Reply With Quote
BSchwarz
Guest
Posts: n/a
 
Re: Vista file permission problem
Posted: 01-09-2007, 07:31 PM

Jesper;108375 Wrote:
> UAC is going on. Your token does not have Administrators in it, so yo
> can't
> edit files in Program Files without elevating first.
>
> If you have to edit files in Program Files, do so from an elevate
> command
> prompt
>
> "mikeyhsd" wrote
>
> > first thing that comes to mind i
> > is the program currently running
> >
> >
> >
> > mikeyhsd@sport.rr.co
> >
> >
> >
> > "guyyardeni" <guyyardeni@removethis.bfdmail.net> wrote in messag
> news:ucO2oy6MHHA.4376@TK2MSFTNGP03.phx.gbl..
> > I'm trying to edit a file in a subfolder of 'Program Files' and ge
> an
> > access denied error when trying to save. I'm logged in as a membe
> of local
> > administrators group and effective permissions show that I hav
> full
> > control
> >
> > What's going on
> >
> > Thx
> >
> > --
> > Guy Yarden
> >
> >
> >
He is logged on as an admin so UAC shouldn't be biting him. As wa
suggested try running windows explorer as administrator

--
BSchwar
Posted via http://ms-os.com Forum to Usenet gatewa

Reply With Quote
guyyardeni
Guest
Posts: n/a
 
Re: Vista file permission problem
Posted: 01-09-2007, 09:25 PM
Solved it. Turns out that Vista protects the Program Files directory so even
though I was listed as an administrator and the effective permissions looks
correct, I needed to take ownership of the files, give myself rights to them
and then it worked fine.

--
Guy Yardeni



"Jesper" <Jesper@discussions.microsoft.com> wrote in message
news:BD762B3A-6A31-437F-93C0-BE3E64934CF9@microsoft.com...
> Admins are also subject to UAC, and you cannot elevate Explorer to be a
> full
> admin. It will always be limited as long as UAC is enabled.
>
> "BSchwarz" wrote:
>
>>
>> Jesper;108375 Wrote:
>> > UAC is going on. Your token does not have Administrators in it, so you
>> > can't
>> > edit files in Program Files without elevating first.
>> >
>> > If you have to edit files in Program Files, do so from an elevated
>> > command
>> > prompt.
>> >
>> > "mikeyhsd" wrote:
>> >
>> > > first thing that comes to mind is
>> > > is the program currently running.
>> > >
>> > >
>> > >
>> > > mikeyhsd@sport.rr.com
>> > >
>> > >
>> > >
>> > > "guyyardeni" <guyyardeni@removethis.bfdmail.net> wrote in message
>> > news:ucO2oy6MHHA.4376@TK2MSFTNGP03.phx.gbl...
>> > > I'm trying to edit a file in a subfolder of 'Program Files' and get
>> > an
>> > > access denied error when trying to save. I'm logged in as a member
>> > of local
>> > > administrators group and effective permissions show that I have
>> > full
>> > > control.
>> > >
>> > > What's going on?
>> > >
>> > > Thx.
>> > >
>> > > --
>> > > Guy Yardeni
>> > >
>> > >
>> > >
>> He is logged on as an admin so UAC shouldn't be biting him. As was
>> suggested try running windows explorer as administrator.
>>
>>
>> --
>> BSchwarz
>> Posted via http://ms-os.com Forum to Usenet gateway
>>
>>
Reply With Quote
Jimmy Brush
Guest
Posts: n/a
 
Re: Vista file permission problem
Posted: 01-11-2007, 02:59 AM
Hello,

As Jesper pointed out, any program that you do not elevate through a
"Windows needs your permission to continue" prompt does not get to use your
group membership into administrators [among other restrictions]; non-elevated
programs, therefore, will not be able to access files in ways that you only
have access to through your group membership as an administrator.

As you found out, changing the permissions on the resource to specifically
grant you access will allow non-administrative programs to access that
resource without prompting; however, it is important to note that this will
signifigantly reduce the effectiveness of the Windows Vista security
mechanisms when applied to system folders, such as program files.


- JB
Reply With Quote
Gerry Hickman
Guest
Posts: n/a
 
Re: Vista file permission problem
Posted: 01-11-2007, 10:01 PM
Jimmy Brush wrote:
> As you found out, changing the permissions on the resource to specifically
> grant you access will allow non-administrative programs to access that
> resource without prompting; however, it is important to note that this will
> signifigantly reduce the effectiveness of the Windows Vista security
> mechanisms when applied to system folders, such as program files.
It's also a bad strategy for anyone who has to work on hundreds of
computers, and computers they don't own. We need a simple way to do
these tasks without having to change the default permissions.

--
Gerry Hickman (London UK)
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission to change file name? adamlink Windows Vista File Management 6 05-25-2007 07:35 PM
Can't rename a file due to permission problems Roof Fiddler Windows Vista Security 0 09-26-2006 11:59 PM
Permission to install .dll file? Where do I do that? Prose Windows Vista Performance & Maintenance 2 09-21-2006 02:13 AM
NTFS file permission Christophe Windows Vista Administration 6 08-31-2006 05:13 PM
NTFS file permission Christophe Windows Vista Security 5 07-29-2006 05:25 AM


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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90