Stubborn read-only attributes


  1. Posts : 9
    Windows 10
       #1

    Stubborn read-only attributes


    Hi,

    I have a (sub)folder tree that has read-only files and/or folders *somewhere* inside (as indicated by an "x" icon overlay and the properties window).
    I tried to remove the attribute via GUI (and propagate that through the tree), and tried the following commands from an admin cmd.exe (executed from the overarching folder):
    attrib -r *.* /s
    attrib -r *.* /s /d
    attrib -s -h -r *.* /s /d
    attrib -s -h -r /s /d
    Nothing makes a difference to what the Windows icon or the properties window is displaying.
    However, in Total Commander neither a branch view (files only) nor a search (files and folders) finds *anything* with a read-only attribute.
    Something's wrong here.
    Or is it just the stupid icon that's wrong/not updating correctly?
      My Computer


  2. Posts : 884
    Windows 7
       #2

    What are the folders, are they owned by Windows? Maybe your real problem isn't folder attributes but having the wrong folder permissions?

    Open the folder properties, look under the Security tab, click the Advanced button.
      My Computer


  3. Posts : 9
    Windows 10
    Thread Starter
       #3

    Maybe there's something in that direction.
    According to the security tab, there should be full access for local admins (like myself. it's my personal PC) and myself (explicitly).
    But I just noticed that the whole (sub)folder tree came from my work (Sharepoint) drive via a 7z archive.

    EDIT: I just got the idea to move the whole folder tree to an external exFAT drive (that doesn't know a thing about NTFS permissions) and back again, and the pesky icon is gone. The properties window still claims there are read-only files inside, but I still can't find any with an explicit search. Good enough for me.
      My Computer


  4. Posts : 884
    Windows 7
       #4

    You can force the rights to Full, and apply them to all subfolders and files.
      My Computer


  5. Posts : 9
    Windows 10
    Thread Starter
       #5

    BTW, I'm amazed that 7z would transport weird Windows or NTFS permissions or metadata.
      My Computer


  6. Posts : 9
    Windows 10
    Thread Starter
       #6

    Update: Regarding the edit in #3 - Nope, once I got into the subfolders, there were still plenty of "X"s.
    Today, I had to rebuild the icon cache for some unrelated reason. At first, I thought that had solved the "X" issue as well, but no.
    So I finally ended up deleting this whole stupid folder (sub)tree, after copying a few still-needed files. And interestingly, I did *not* get the "files are read only" warning on deletion.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:36.
Find Us




Windows 10 Forums