Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Files attributes Read Only in Program files

microsoft.public.windows.vista.file management






Speedup My PC
Reply
  #1 (permalink)  
Old 02-28-2007
Munteanu Gabriel
 

Posts: n/a
Files attributes Read Only in Program files
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

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-28-2007
Jimmy Brush
 

Posts: n/a
Re: Files attributes Read Only in Program files
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/

Reply With Quote
  #3 (permalink)  
Old 02-28-2007
Munteanu Gabriel
 

Posts: n/a
Re: Files attributes Read Only in Program files
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/


Reply With Quote
  #4 (permalink)  
Old 03-11-2007
Jimmy Brush
 

Posts: n/a
Re: Files attributes Read Only in Program files
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/

Reply With Quote
  #5 (permalink)  
Old 04-24-2008
CoLdFuSiOn
 

Posts: n/a
Re: Files attributes Read Only in Program files

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
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
read firewall log files Henry microsoft.public.windows.vista.file management 1 11-16-2007 19:13
Recent Program Lists =?Utf-8?B?THVjYXM=?= microsoft.public.windows.vista.file management 1 04-20-2007 21:30
Re: Unable to remove read-only attribute from files and folders =?Utf-8?B?RGVyZWs=?= microsoft.public.windows.vista.file management 7 02-28-2007 14:15
Problems with program that ran on XP =?Utf-8?B?S2VpdGg=?= microsoft.public.windows.vista.administration accounts passwords 1 02-28-2007 14:12
Read only ??? =?Utf-8?B?RGF2aWQ=?= microsoft.public.windows.vista.administration accounts passwords 2 02-28-2007 14:10




All times are GMT +1. The time now is 01:41.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120