2

Windows Vista and 7 use the read-only attribute of folders to also indicate that the folder is 'custom.'

It turns out that this is preventing programs I use from updating files in my documents folder. I am unable to change the read-only setting regardless of whether I right-click on the folder and de-select the read-only checkbox on the properties tab, or if I use the 'icacls' command from the command line.

This has been discussed before by me and others here:

However, none of these solutions are working for me.

Has anyone heard of a workaround or solution outside of these links? Really, all I want to be able to do is use Maven for a software project I'm developing; but my IDE stack (Netbeans 7 & Glassfish 3.x) can't update my project file in my documents folder... So at the moment I'm stuck using Ant, but I'd really prefer to migrate to Maven.

Here are some links discussing this:

1
  • Note that this problem represents a bug in your IDE stack; it shouldn't be paying any attention to the folder's read-only flag. I understand you've got a solution that works for you, but it may still be worth reporting the problem to the relevant developers/vendors. Feb 2, 2012 at 2:35

2 Answers 2

1

Start registery editor (regedit.exe) go to the folowing registery key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer

Choose in the menu

edit ->new

and then -> DWORD value with registervalue word

UseSystemForSystemFolders

click with the right mouse on the new value and click on change Type 1 and click OK Close Regedit then you need to do the attrib -r +s c:\test (where c:\test) is your folder

8
  • I am already an administrator on my box...
    – Ted
    Jan 30, 2012 at 13:47
  • try this attrib -r +s drive:\<pad>\<foldername>
    – hasharc
    Jan 30, 2012 at 13:59
  • The change still doesn't persist. It goes back to read-only when I reopen the documents folder. I've also checked for any other group policies, etc.
    – Ted
    Jan 30, 2012 at 14:18
  • Start registery editor (regedit.exe) go to the folowing registery key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer Choose in the menu edit ->new and then -> DWORD value with registervalue word UseSystemForSystemFolders click with the right mouse on the new value and click on change Type 1 and click OK Close Regedit then you need to do the attrib -r +s c:\test (where c:\test) is your folder.
    – hasharc
    Jan 30, 2012 at 14:27
  • link is here: support.microsoft.com/kb/256614
    – hasharc
    Jan 30, 2012 at 14:28
1

Use the command line:

attrib FolderName -r
2
  • I tried this, but the change doesn't persist...
    – Ted
    Jan 30, 2012 at 13:49
  • Sorry, made a typo.
    – kinokijuf
    Jan 30, 2012 at 14:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .