Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File and Folder Read only attribute wont disable


06 Jan 2010   #1

Windows 7 Ultimate 64 Bit Edition
 
 
File and Folder Read only attribute wont disable

When i create a new folder it automatically sets the read only attribute, if i try and turn it off it just turns back on again.

I have tried using command prompt to disable it as well as playing with the security settings and account permissions.

does any one have any ideas?


My System SpecsSystem Spec
.

06 Jan 2010   #2
jav

Windows 7 Ultimate x86 SP1
 
 

1. First question, why are you trying to do it?

2. look here:
Unable to remove Read-Only attribute from folder
You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7

Quote:
To view or to remove the Read-only or the System attributes of folders in Windows Vista or Windows 7
Click Start, click Run, type cmd, and then press ENTER..
To view the syntax for the Attrib command, type attrib /? at the command prompt.
To remove the Read-only attribute and to set the System attribute, use the following command:
attrib -r +s drive:\<path>\<foldername>
For example, to remove the Read-only attribute and to set the System attribute for the C:\Test folder, use the following command:
attrib -r +s c:\test
Be aware that some programs may not operate correctly with folders for which the System attribute and the Read-only attribute are set. Therefore, use the following command to remove these attributes:
attrib -r -s drive:\<path>\<foldername>
For example, to remove both the Read-only and the System attributes from the C:\Test folder, use the following command:
attrib -r -s c:\test
If the Run command is not listed on the Start menu, do the following:
Click Start, click All Programs, click Accessories, and then click Run..
note: Open cmd with run as administrator
My System SpecsSystem Spec
05 Mar 2010   #3

Windows 7 Professional x64
 
 

Question about the read only attribute for folders in Windows 7.

I was trying to play warcraft III on battle.net and I got the error that the game couldn't patch the files because it couldn't write to the hdd. I then noticed that all my folders including program files were set to read only like in the following pic:



So I went to the program files folder and opened the properties, cleared the checkbox and hit apply (I'm used to previous versions of windows where read only was different). I told it to apply the setting to all the subfolders and files. A progress bar came up and it did its thing. After this I checked and all the subfolders still had the read only box checked in the same manner as the picture above, but all the files within did not (Is this how it is by default?). This did not fix the problem with patching wc3 though.

My question is: In unchecking the read only box and hitting apply, did that actually modify any of the attributes within the program files folder?

After realizing why the folders are set up this way and figuring out the correct way to fix the problem by setting the user privileges I'd rather not modify this setting.

EDIT: Judging by folders I didn't modify, all folders on my c: drive are [o] read-only and all subfiles are not. Therefore I believe that in doing what I did no changes were made to the program files or its sub-folders/files. Kinda misleading when there's a progress bar that takes a couple minutes to do nothing but fill up for show lol. Amirite?
My System SpecsSystem Spec
.


06 Mar 2010   #4

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by jasonb36 View Post
When i create a new folder it automatically sets the read only attribute, if i try and turn it off it just turns back on again.

I have tried using command prompt to disable it as well as playing with the security settings and account permissions.

does any one have any ideas?
I think you are seriously confusing read only attributes on a folder with read only NTFS permissions (ACL).

How to set, view, change, or remove special permissions for files and folders in Windows XP
My System SpecsSystem Spec
15 Apr 2010   #5

windows 7
 
 

I am having the same problem as CircatM2001 described. In this case it is with my photos. the folder properties seems to be defaulted to "read only" and when i unset the read only in the folder properties and apply it seems to unset, but it actually doesn't. This is preventing me from editing the photos.

Any advice on how i can unset the "read only"?

Also where can i set the preferences to prevent downloaded/imported files from defaulting to read only?

Thanks
My System SpecsSystem Spec
15 Apr 2010   #6

Windows 7
 
 

Tick = Enabled
Square = Folders or files within this folder have read only flag.

the square is present because the folder contains desktop.ini which sets folder views, folder icons, folder type or ntfs hardlinking, this file is set as system and hidden at the same time which prevents modification unless you remove both flags at the same time.
Unnecessary obviously...

because your issue is caused by launching the game without Run as Admin, which in turn prevents the application from reading or writing to the Program Files(Program Files (x86) directory.

There is a easy fix for this however. simply install the Take Ownership reg patch and Take ownership of the entire Warcraft III folder. this should immediately give you full permissions over that individual folder and remove this issue without having to set the run as admin compatibility, and not compromise the entire program files folder in the process.
My System SpecsSystem Spec
15 Apr 2010   #7

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Try giving yourself full permissions for the folders in question.

Windows 7 Take Ownership & Grant Permissions to Access Files & Folder
My System SpecsSystem Spec
15 Apr 2010   #8

Windows 7
 
 

Quote   Quote: Originally Posted by Bill2 View Post
Try giving yourself full permissions for the folders in question.

Windows 7 Take Ownership & Grant Permissions to Access Files & Folder
:P don't give him the hard way, it'll just make him ask more questions when we could just direct him straight to Add Take Ownership Option Shortcut in Right Click Menu of Windows 7
My System SpecsSystem Spec
16 Apr 2010   #9

windows 7
 
 

Thanks for the advice. Yes, you were right, it is the square "read only" not the checkmark.

I have downloaded and installed the Take Ownership patch and do get Take Ownership on the right click menu. i Take ownership of the folder in question (in this case i folder of .jpg pics from a friend) and get a prompt asking me if i allow the program to make changes to the computer, which i do of course and the cmd window pops up for a microsecond so it looks like the program is doing its thing...

However after doing this repeatedly, it does not change the situation: i still have a read only folder which i cannot unset the read only (square).

What am i doing wrong?
My System SpecsSystem Spec
16 Apr 2010   #10

Windows 7
 
 

you aren't doing anything wrong, just not understanding.

the square will not be removed, it cannot be on NTFS partitions.

If it still cannot write to the folder, then the only solution is to run the application as admin everytime you use it. You can do this manually via the right click menu, or enable it as a compatibility option in the applications properties.

Depending where the folder is placed, it will be restricted to the parent folders permissions if the folder inherits them.

I was about to type a bunch of unnecessary stuff, when all that needs to be done is the contents of the folder moved into a newly created folder on your drive.
My System SpecsSystem Spec
Reply

 File and Folder Read only attribute wont disable




Thread Tools



Similar help and support threads for2: File and Folder Read only attribute wont disable
Thread Forum
Solved change Read only attribute General Discussion
Can't remove 'read-only' attribute from a folder General Discussion
Solved "Read-Only" File Attribute General Discussion
Can't uncheck read-only attribute General Discussion
How do I unset the Program folder read-only attribute? General Discussion
Read-only File and Folder Attribute Tutorials

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:03 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33