Files attributes Read Only in Program files

Posted: 02-22-2007, 11:13 AM
I need to have read write attributes for C:\Program
Files\Mydirectory\myfile, but whatever i do Vista Bussiness set the
attributes back to RO. Thanks

Files attributes Read Only in Program files


Responses to "Files attributes Read Only in Program files"

Jimmy Brush
Guest
Posts: n/a
 
Re: Files attributes Read Only in Program files
Posted: 02-22-2007, 01:56 PM
Hello,

You need to add a permission on the security tab that gives your username
write access.

The read-only attribute isn't causing the access issue. (Also, folders don't
have read-only attributes; that box is only there so you can easily
set/clear this attribute on the files inside of that folder).


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

Munteanu Gabriel
Guest
Posts: n/a
 
Re: Files attributes Read Only in Program files
Posted: 02-23-2007, 06:02 AM
Thank you for the tip. I presumed that having an administrator type user I
would inherit the full control.

But now. Another question is raised.

How can I automate that from Access? An ordinary user will never be able to
do that?

An Administrator type user does not inherit the read-write rights ?

Or should I make the installer for another folder outside Program files?

"Jimmy Brush" <JimmyBrush@discussions.microsoft.com> wrote in message
news:660335EA-87A8-4457-86AE-B2AECC4E1E55@microsoft.com...
> Hello,
>
> You need to add a permission on the security tab that gives your username
> write access.
>
> The read-only attribute isn't causing the access issue. (Also, folders
> don't have read-only attributes; that box is only there so you can easily
> set/clear this attribute on the files inside of that folder).
>
>
> --
> - JB
> Microsoft MVP - Windows Shell/User
>
> Windows Vista Support Faq
> http://www.jimmah.com/vista/
Jimmy Brush
Guest
Posts: n/a
 
Re: Files attributes Read Only in Program files
Posted: 03-11-2007, 02:20 PM
An administrative user has write access to this folder.

However, in Windows Vista, applications cannot USE this right unless they
ask the user for permission ("Windows needs your permission to continue").

So, accessing this location will fail from Access, even if the user is an
administrator.

What kind of data are you needing to modify here? Can you put it in the
user's profile folder instead of a machine-wide location? if so, that will
solve this problem.


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

CoLdFuSiOn
Guest
Posts: n/a
 
Re: Files attributes Read Only in Program files
Posted: 04-24-2008, 05:36 PM

Munteanu Gabriel if you are wanting to allow none administrative users
to read and write files using an application or access try going to the
search box in the start bar and type MSCONFIG run it and go to Tools tab
and disable the UAC protection. Hope this might help


--
CoLdFuSiOn
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to remove read-only attribute from files and folders Colin Hume Windows Vista File Management 22 02-13-2008 01:32 AM
read firewall log files Henry Windows Vista File Management 1 11-16-2007 06:13 PM
files are read only when extracted from Zip folders Jeannette Windows Vista File Management 2 11-17-2006 03:59 PM
Searching, sorting, and excluding files by attributes Roof Fiddler Windows Vista File Management 2 09-20-2006 07:22 PM
Files Marked as "Read Only" Charley911 Windows Vista File Management 4 07-01-2006 11:25 AM