Windows deleting a read-only folder

Discussion in 'Software' started by AbbaZabba, 27 May 2004.

  1. AbbaZabba

    AbbaZabba What's a Dremel?

    Joined:
    26 May 2004
    Posts:
    7
    Likes Received:
    0
    ok i accidently set the permissions for everyone on a folder to read, read folder contents, and read and execute
    and since noone could get at the contents to change them .. i just copied it and renamed the read only one ... but i want to get rid of the read only folder and noone has permission to, and the check box for inherit permissions from parents is unchecked so i cannot inherit any

    any suggestions?
     
  2. Krikkit

    Krikkit All glory to the hypnotoad! Super Moderator

    Joined:
    21 Jan 2003
    Posts:
    23,613
    Likes Received:
    452
    Log in as Administrator? AFAIK they have rights to change share/folder access rights etc... *shrug* a pretty crappy hole in coding if you can set a folder like that though :(
     
  3. AbbaZabba

    AbbaZabba What's a Dremel?

    Joined:
    26 May 2004
    Posts:
    7
    Likes Received:
    0
    haha yeah well i was under administrator when i did it, and since administrator is part of "everyone" there isnt a single account that has the rights now .... tis quite the crappy hole ... and stupid on my part .. oh well
     
  4. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Format :D
     
  5. LobosBlanco

    LobosBlanco What's a Dremel?

    Joined:
    1 Apr 2004
    Posts:
    26
    Likes Received:
    0
  6. AbbaZabba

    AbbaZabba What's a Dremel?

    Joined:
    26 May 2004
    Posts:
    7
    Likes Received:
    0
    yeah .. a format isnt really an option cause its a server and has a lot of crap on it .... its something id like to avoid
    and thanks for the move on boot app ... if i find nothing else .. that will have to do ... its a folder with 11MB worth of files in it ... that could take forever .. but hey .. if its our only option .. its our only option
     
  7. Ben

    Ben What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    1,000
    Likes Received:
    0
    could you not do it in dos.
     
  8. kill_me_quick

    kill_me_quick Big and Blue

    Joined:
    7 Jan 2004
    Posts:
    941
    Likes Received:
    1
    boot into safe mode by tapping F8? then boot safe mode with command prompt then get the file "c:\file\whatever_its_called.extention" then whatever the command is to delete, I dont know what it is, but i would like to know.
     
  9. Enak

    Enak Also known as Kane

    Joined:
    23 Jul 2002
    Posts:
    831
    Likes Received:
    1
    The admin account (member of administrators) should have permission to change the folder properties... then you can delete.
     
  10. tk421

    tk421 Idiot.

    Joined:
    15 Jan 2002
    Posts:
    2,400
    Likes Received:
    10
    all you have to do is log in as admin . bring up the cmd window, navigate to the directory in question, and use the attrib command ... i believe it's -r you want ...

    Code:
    ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
           [/S [/D]]
    
      +   Sets an attribute.
      -   Clears an attribute.
      R   Read-only file attribute.
      A   Archive file attribute.
      S   System file attribute.
      H   Hidden file attribute.
      [drive:][path][filename]
          Specifies a file or files for attrib to process.
      /S  Processes matching files in the current folder
          and all subfolders.
      /D  Processes folders as well.
    
    there ya go ...
     
Tags:

Share This Page