Re: Unable to unset Read-only attribute of folders

From: Tobias van Dyk (vdykt_at_icon.co.za)
Date: 06/07/04


Date: Mon, 7 Jun 2004 12:38:00 +0200

check here:
http://support.microsoft.com/?kbid=326549
and here:
http://www.pcbanter.net/t527146.html

WORKAROUND
To work around this issue, use the Attrib command at a command prompt
(Cmd.exe) to view or remove the Read-only or System attributes of folders.
Type attrib /? at the command prompt to view the syntax for the Attrib
command.

Warning If you remove the Read-only or System attribute from a folder, it
may appear as a ordinary folder and some customizations may be lost. For
example, Windows customizes the Fonts folder and provides a special folder
view that permits you to hide variations, such as bold and italic. It also
permits you to change the folder's view settings in ways that are specific
to fonts. If you remove the Read-only and System attributes of the Fonts
folder, these customized view settings are not available. For folders that
you have customized by using the Customize tab of the folder's Properties
dialog box, the folder icon and other other customizations may be lost when
you remove the Read-only attribute.

If a program cannot save files to a folder with the Read-only attribute,
such as My Documents, change the Read-only attribute to System by using the
Attrib command at a command prompt.

For example, to change the Read-only attribute to System for the C:\Test
folder, use the following command:
attrib -r +s c:\test

Note that some programs may not operate correctly with folders that have the
System attribute set. To remove both the Read-only and System attributes
from the C:\Test folder, use the following command:
attrib -r -s c:\test

STATUS
This behavior is by design.
MORE INFORMATION
Windows stores file and folder attributes in the file system with the file
and folder name, extension, date and time stamps, and other information. The
Read-only check box for folders is not available because it does not apply
to the folder. You can use this check box to set the Read-only attribute for
files in the folder. However, you cannot use Windows Explorer to determine
if a folder has the Read-only and System attributes set. To determine the
attributes that are set on a folder, or to change these attributes, you must
use the Attrib command from a command prompt.

"S N" <uandme72@yahoo.com> wrote in message
news:em54%23QHTEHA.1472@TK2MSFTNGP09.phx.gbl...
> I dont know if the read only status is causing problem or the
indeterminate
> status is causing problems?
> However I do know that some of my programs that modify a database within
> some folders give me an error message that the database or object is read
> only.
> I have checked the file of database, which saya it is not read only (the
box
> is clear).
> Further How do i correct the indeterminate status?
>
> Please help.
>
>
> "David Candy" <david@mvps.org> wrote in message
> news:%23InULAHTEHA.368@TK2MSFTNGP10.phx.gbl...
> Read only changes the behaviour of a directory not at all. Not even a
little
> bit.
>
> --
> ----------------------------------------------------------
> http://home.comcast.net/~wizardofwhimsy/index.html
> "S N" <uandme72@yahoo.com> wrote in message
> news:%23sH3Z8GTEHA.1732@TK2MSFTNGP09.phx.gbl...
> > I have tried clicking the box three times.
> > The clicking cycles the boc in three states-Ticked,Blank and Blurred.
The
> > box for my folders remains blurred (instead of the empty state for
> > non-readonly or ticked for full read only). If I click the box the blur
> > goes. But on rechecking the folder properties, I again get the box as
> > blurred.
> > And the advice given to me in the previous response was for the folder
in
> > which uploading was to be done. However I am facing the problem for all
> the
> > folders on my drive, irrespective of whether they are in the upload
folder
> > for IIs or not.
> > All folders on my Hard disk are behaving similarly (having the box as
> > blurred).
> >
> > Please help
> >
> >
> > "David Candy" <david@mvps.org> wrote in message
> > news:uTPF%232GTEHA.3724@TK2MSFTNGP10.phx.gbl...
> > Your folders aren't read only, new ones aren't being created read only,
> and
> > windows is NOT indicating that they are to you. Click the box three
times.
> > Someone answered you last post too.
> >
> > --
> > ----------------------------------------------------------
> > http://home.comcast.net/~wizardofwhimsy/index.html
> > "S N" <uandme72@yahoo.com> wrote in message
> > news:ep3xGzGTEHA.3476@tk2msftngp13.phx.gbl...
> > > I have a P4 machine with Windows XP ProfessionalSP1 nstalled on on it.
> > > I am running IIS on the machine for testing my website.
> > > Recently I tried running the commands for running scripting host
> > commands:
> > > -server.createobject(scripting.filesystemobject) in an asp page.
> > > The asp page which was trying to run was basically aiming to upload
> files
> > > to the server.
> > > However ever since I have been experimenting with the asp page
> containing
> > > the scripting command , all the folders on my hard drive have become
> read
> > > only.
> > > I am not able to reset the read only attribute of any of the folders.
> > Even
> > > if I unset the attribute, on rechecking i find that it is still read
> > only.
> > > I have checked the permissions in NTFS for all the folders.
> > > am logging in as the administrator and am the owner of all the
folders.
> > > I have also set the permissions as "Full Control" on all the folders.
> > > Ever since that problem, I have stopped using the ASP page.
> > > Inspite of all this, I am still not able to unset the readonly
> permission
> > to
> > > any of the folders on my drive.
> > > Any new folder that I create also becomes read only.
> > > I am also unable to unset the readonly attribute of any new folder as
> > well.
> > > This problem is for any folder on my drive including the folders
outside
> > my
> > > Internet publishing directory. IT is important to note that any of the
> > files
> > > inside the folders are not read only. Only the folders are Read-Only.
> > > I think this problem might be related to the service pack or the
version
> > of
> > > Windows Scripting Host. Does anyone have any idea if this problem is
not
> > > related to Scripting?.
> > > Please help
> > >
> > > S N
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Removing Hidden status?
    ... explanation as to why these are hidden anyway, ... operating system and various programs should treat the file or folder ... You can only view the System attribute by using the attrib command or by ... To use the attrib command. ...
    (microsoft.public.windowsxp.general)
  • Re: Removing read only attributes on folders
    ... DVD burner and also try logging on as an administrator if you are not as I ... You can use the command net localgroup ... I was told to remove the read only attrib and did (for the files inside ... folders) I was told the folder attrib didnt matter and I get that part. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Pages are not saving to history folder
    ... Log on as Administrator and delete the desired folder and reboot. ... directory command) to reach the location of the folder in question. ... change to the root directory type the following at the command prompt: ... The command prompt should now look like the following: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Removing Hidden status?
    ... There is a fourth state, like on a System folder, Content.IE5 for example, ... You can only view the System attribute by using the attrib command or by ... To use the attrib command. ... eventually tried this from a Command Prompt: ...
    (microsoft.public.windowsxp.general)
  • RE: Vista Network Map
    ... Then open the command prompt without elevated privileges. ... If you install the LLTD before you install SP3, ... In the folder where you extract to you will find a folder SP2QFE. ...
    (microsoft.public.windows.vista.networking_sharing)