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
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
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/
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/
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/
Munteanu Gabriel if you are wanting to allow none administrative users in vista to read and write files using an application 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. UAC stand for user account control and turning it off will allow other users to have more privilages. Hope this might help
Last edited by CoLdFuSiOn; 24 Apr 2008 at 01:59 PM.
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Program Files Read Only | Dweezil38 | Vista security | 13 | 17 Jul 2009 |
| Possible to Read only Selected lines from multiple files into anotherfile deleting source files when processed? | joe.hurzeler | PowerShell | 3 | 09 Mar 2008 |
| Changing program to read PDF files in Windows Mail | douglas kerr | Vista mail | 1 | 27 Apr 2007 |
| How to open a file for read/write access in Program Files directory | Michael Harvey | Vista security | 1 | 28 Feb 2007 |
| Program to Read Bin/Cue Files? | Alan Morris | Vista installation & setup | 1 | 16 Oct 2006 |