Guest jperkins71 Posted February 3, 2012 Share Posted February 3, 2012 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.