Vista file permission problem

G

guyyardeni

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.
 
M

mikeyhsd

first thing that comes to mind is
is the program currently running.



(e-mail address removed)



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.
 
G

guyyardeni

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.
 
G

Guest

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
 
G

Gerry Hickman

Jimmy said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top