Don't Have Read Access

M

Mike Hartsough

I installed an app, but when I try to run it, I get an error message that I
don't have read access to some of its configuration files.

When I right-click the files, and uncheck the "read only" attribute, it
seems to "take", but it isn't really changing the attribute. I have followed
the Windows "Help" instructions to take ownership, but that hasn't helped.

I've repeatedly tried this on the files themselves, and on their folders,
but none of the attributes change. My account is listed as an administrator
account, and the security settings claim that I have "Full Control".

Help?

Thanks,
Mike
 
M

Mike Hartsough

It's an internally developed app whose name would be meaningless. I
downloaded it from a web page on our intranet.

I had the same problem on an earlier version, and all I had to do was
uncheck the "read only" attribute box. But that's not working this time.
 
M

Mike Hartsough

The developer is out of the office until Tuesday.

Shouldn't I be able to give myself read access to files on a PC where my
account is an admin account?
 
H

HeyBub

Mike said:
The developer is out of the office until Tuesday.

But, if he's on the cusp of technology and keeps up with things new and
advanced, he migh, just migh, have a phone.

Just a thought...
 
P

Pegasus [MVP]

Mike Hartsough said:
I installed an app, but when I try to run it, I get an error message that I
don't have read access to some of its configuration files.

When I right-click the files, and uncheck the "read only" attribute, it
seems to "take", but it isn't really changing the attribute. I have
followed
the Windows "Help" instructions to take ownership, but that hasn't helped.

I've repeatedly tried this on the files themselves, and on their folders,
but none of the attributes change. My account is listed as an
administrator
account, and the security settings claim that I have "Full Control".

Help?

Thanks,
Mike

Let's ignore the background noise for a moment and deal with your issue at a
grassroots level. Here is how you can do it.
1. Click Start, then click Run.
2. Type the three letters cmd
3. Click the OK button.
4. Type the following command:
cd /d "c:\documents and settings\mike\...\..."
(replace the above path with the actual name of the folder where your
problem files reside)
5. Press the Enter key.
6. Type the following commands:
attrib > c:\test.txt{Enter}
attrib *.* -s -h -r {Enter}
attrib >> c:\test.txt{Enter}
notepad c:\test.txt{Enter}
7. Paste the text you see into your reply.
8. Name the file(s) you have a problem with.
9. Run your application and tell us if you still have a problem.
Note: You must be very precise when typing the above commands. If you make
mistakes then they won't work.
 
A

Andrew McLaren

Mike said:
I installed an app, but when I try to run it, I get an error message that I
don't have read access to some of its configuration files.

Hey Mike,

Which directory are these configuration files located in?

On XP and Vista, by default you do not have write access to any files
under the "C:\Program Files\" directory or the "C:\Windows\" directory -
even if you are an administrator.

To be Vista-compatible (and to follow good security practices)
applications should store their config files under C:\ProgramData or
under each user's own <homedir>\AppData directory (normally hidden).
However, many apps continue to work the way they did on insecure
operating systems like Windows 95, and put writeable files into
protected directories where - on XP and Vista - they can only be read.

On an NTFS file system, access to file files is controlled by the ACLs
("access control lists") - highlight the file in Explorer, right-click,
choose Properties, and then the Security tab on the Properties panel.
This gives you the ACL editor, where you can adjust permissions as
required. File Attributes are mainly a holdover from the old FAT file
system, retained for backwards compatibility.

Hope this helps a bit,

Andrew
 

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