Jump to content

How to remove read-only attributes on folders in C:\ProgramData with Windows 7


Guest jperkins71

Recommended Posts

Guest jperkins71

I'm trying to set up a site-wide deployment for an application that has a tree of data users need to read and write under C:\ProgramData\<application>

The folder C:\ProgramData\<application> and its subfolders show the "I" attribute when viewing attributes with the "attrib" command. The "R" attribute is not set. However, folder properties in the Windows Explorer show the "Read-only (Only applies to files in folder)" attribute box is selected.

I can try to unset the read-only attribute using the Windows Explorer properties menu; it will ask if I want to "Apply changes to this folder, subfolders and files"...and that dialog box will go away after pressing "OK". Closing and reopening the properties box still shows the read-only attribute checked.

I tried to use "attrib +r C:\ProgramData\<application> /S /D" to add read-only attributes to the directory tree; "attrib" shows the read-only property at this point. I then attempted to remove the read-only attribute with "attrib -r C:\ProgramData\<application> /S /D". "attrib" shows the read-only property gone at that point, but the Windows Explorer properties window shows the read-only attribute still checked.

Security ACLs for C:\ProgramData\<application> give group "Users" read and write permissions, and C:\ProgramData\<application>\<version_num> has full control access granted to "Everyone".

I did find http://support.microsoft.com/kb/326549 addressed this issue somewhat, but I did not find any suggestions there I didn't already try (and document above).

Any suggestions for how to remove this read-only folder attribute from folders in C:\ProgramData on Windows 7 systems?

 

Continue reading...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...