change read-only attributes in windows 7

January 2, 2012 at 08:47:37
Specs: Windows 7
Dear Experts,

I tried to change the attribute in c:\Program files\Java so that I can write in this folder.

The current status of this folder is "read-only". I have tried to following method in attempt to remove the "read-only" status, but failed. Could you please help

Logged in as admin. Under security tab, I was able to assign "full control" to all the users, including myself, except for "CREATOR OWNER". Right clicked the folder and chose properties, unchecked the "read-only" box.

Thanks a lot for your help


See More: change read-only attributes in windows 7

Report •

#1
January 3, 2012 at 04:44:25
"Read Only" does not apply to folders, it only applies to files within a folder.

Therefore, if you are unable to write to a particular folder, it has nothing to do with "read only". Something else is causing it.


Report •

#2
January 3, 2012 at 05:08:32
You have to change the permissions on that folder and take ownership. But doing this may create problems.

What do you want to write in that folder ? Copy a file in that folder ?

Take ownership:

Method 1, Method 2 and Method 3

CoolGuy


Report •

#3
January 3, 2012 at 10:26:07
Dear CoolGuy,

Thanks for your message.

One of the websites that uses Java as the plug-in prompts an update of the existing Java files stored under this directory. The site performs the update process by downloading and installing the new files. I didn't have any problem performing the same update on my other computers as I was able to successfully take the ownership on those computers.

I tried three methods you suggested, but still not able to uncheck the "read-only" box. Any other suggestions? I really appreciate your help.


Report •

Related Solutions

#4
January 4, 2012 at 01:30:17
The Read-only attribute on folders in Program Files directory should not be important as I believe it causes no problems over-writing the folder itself or something in the folder, as pip22 advised above.

Your problem may lie somewhere else. Assuming you download Java update yourself, can you install the update using Admin privileges while the Java folder is still read-only ? If your answer is yes, then the update attempted by the web site may be blocked by your internet browser's settings. You may be successful if you put the web site in Trusted Zone in your browser's settings and lowering the security level.

Hope the above helps.

CoolGuy


Report •

Ask Question