All folders are Read-Only (Windows)

5

This problem has been around for quite some time and I have never found a solution. I even had to format once to get rid of it. And I'm not the only one with this: here, here and here.

Basically, all of a sudden all folders in my Windows XP setup become (grayed) read only

Grayed Read-Only

For many programs this really isn't a big deal. But I found that Eclipse doesn't work anymore!

Eclipse Problem

  • Tried re-installing applications, didn't solve the problem
  • Microsoft's solution doesn't solve the problem
  • Disabling simple file sharing doesn't solve the problem
  • Changing Read-Only properties to sub-files/folders doesn't solve the problem
  • Disabled my antivirus (Comodo Internet Security), didn't solve the problem

There have been many suggestions if you search but none of them worked. This could end up as another Works for Me thing and never be solved.

pek

Posted 2009-07-18T14:57:07.950

Reputation: 241

This is an outstandingly annoying problem. I've seen it in Windows 10. Settings are scattered all over the place and none of them does a thing. At the same time malware infects the system without even noticing these "security" measures. Fixed mine by using a healthy backup... – sixtytrees – 2016-06-30T14:26:38.047

1

possible duplicate of Having trouble with Windows XP Read Only Settings on a file

– JdeBP – 2012-01-09T20:57:09.430

The check box is in the third state. There are some (but not all) files/folders that are read only. I've had the case where I can't seem to remove the read-only flag on a file, but I've not investigated further as it's not a problem. Your Eclipse folder is marked read-only - are there any others? Is there a pattern to which folders are read-only? Can you remove the flag from any or none? I know I'm not solving the problem here, but hopefully suggesting an avenue to explore. – ChrisF – 2009-07-18T20:11:26.510

Answers

2

That doesn't mean what you think it means. Notice that it's filled with a box rather than a checkmark. Checkboxes can actually have three states: checked, unchecked, and "other". What you're seeing is the "other" state, and you're seeing it because folders can't be marked read-only - there's not read-only bit to set for folders in the first place.

For your specific problem, permissions might have changed on the folder. But that's different than checking the read-only attribute.

Joel Coehoorn

Posted 2009-07-18T14:57:07.950

Reputation: 26 787

Incorrect. It's a box because of the Windows theme. I've updated the screenshot with the Classic Windows Theme.

Also, according to this source (mcpmag.com/articles/2006/…), the third state means "What the grayed-out and checked Read-only checkbox is telling you is that subfolders and files of the folder may have the read-only attribute and not the folder itself." or "it may imply that the folder is deemed a “special folder.” For example, folders that support customized views are special folders."

Also, I've made sure about the permissions and ownership. Not solved. – pek – 2009-07-18T19:38:08.197

2

Open and Command Prompt and type in the following command:

attrib (drive):\* -r /s

tsilb

Posted 2009-07-18T14:57:07.950

Reputation: 2 492

I'm having the same problem and when I try this it appears to get "Access denied" for most or all folders. I'm running cmd.exe as administrator. – Stoney – 2012-12-05T11:46:31.547

1Didn't do anything :( – pek – 2009-07-18T19:45:58.413

So the readonly box is still semichecked? – tsilb – 2009-07-18T20:12:04.077

Unfortunately, yes... – pek – 2009-07-18T20:46:16.927

0

Hm... if you disabled simple file sharing, did you go into the sharing options and make sure your account has premission to write?

MiffTheFox

Posted 2009-07-18T14:57:07.950

Reputation: 3 032

Yes, I also made sure my account was the owner. For this folder and all sub-files/folders. – pek – 2009-07-18T15:17:07.323

0

You're not copying direct from a CD, are you? I've seen some "strange" issues with some files coming from CD to disk setting the read-only flag. The flag is easily cleared for the folder but it's still annoying.

Avery Payne

Posted 2009-07-18T14:57:07.950

Reputation: 2 371

A) No, even a folder I create is by default read only(!) and B) even if I unset the property it still remains! – pek – 2009-07-18T15:19:06.443