Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. vista and read only (or maybe locked?) files...

vista and read only (or maybe locked?) files...

Scheduled Pinned Locked Moved The Lounge
businesshelpquestion
19 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Joe Woodbury

    Hate to break the news to you, but this has been a bug in all versions of NT/Win32/NTFS, though it's usually a directory that gets "locked" by something preventing you from deleting it.

    Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

    S Offline
    S Offline
    stephen hazel
    wrote on last edited by
    #6

    well, i've been copying usbstick files in xp for ages and it's never reared it's ugly head. i don't doubt ya, though.

    J 1 Reply Last reply
    0
    • S stephen hazel

      well, i've been copying usbstick files in xp for ages and it's never reared it's ugly head. i don't doubt ya, though.

      J Offline
      J Offline
      Joe Woodbury
      wrote on last edited by
      #7

      I've not had it [directory locking] happen on USB sticks, though I did have XP completely corrupt a USB stick a few months back. (I still have the damn thing sitting next to me; nobody trusts it for daily work so 16GB are sitting there unused. I'd like to buy it and take it home to archive my pictures and music, but my company doesn't understand that concept.)

      Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

      1 Reply Last reply
      0
      • L Luc Pattyn

        If you want the problem solved, you'd better provide accurate information; what is the destination of your copy? which file causes the problem, the source or the destination? and what exactly are the symptoms? SORRY! And yes. I hate vague complaints. :)

        Luc Pattyn [Forum Guidelines] [My Articles]


        DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


        S Offline
        S Offline
        stephen hazel
        wrote on last edited by
        #8

        guilty as charged. but I don't really see anything lockin' it... It's a regular ole html file copied from a usbstick originally from an xp box. When i use ole wordpad to save it, I get the document is in use by another application and can not be accessed. I tried out that "unlocker" app mentioned above in the thread. Nothing's locking the file. The owning dir is locked by explorer twice. And the dir above that, twice also. No idea why :( (again, sorry!)

        L 1 Reply Last reply
        0
        • S stephen hazel

          guilty as charged. but I don't really see anything lockin' it... It's a regular ole html file copied from a usbstick originally from an xp box. When i use ole wordpad to save it, I get the document is in use by another application and can not be accessed. I tried out that "unlocker" app mentioned above in the thread. Nothing's locking the file. The owning dir is locked by explorer twice. And the dir above that, twice also. No idea why :( (again, sorry!)

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #9

          Steve Hazel wrote:

          The owning dir is locked by explorer twice.

          Huh? What does that mean? How do you come to that observation? locked twice?? Anyway, there are many possible causes which I will not try and list here; and as you persist in not providing any details... :omg:

          Luc Pattyn [Forum Guidelines] [My Articles]


          DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


          S 1 Reply Last reply
          0
          • S Shog9 0

            Steve Hazel wrote:

            SORRY! And yes. I hate vista.

            Ah, see - there's your problem. You must learn to love it. Not just tolerate it, but truly love it, spend your days actively working for its goals and toward its great purpose. Then, and only then, will your suffering end.

            S Offline
            S Offline
            stephen hazel
            wrote on last edited by
            #10

            nice app. but although the file has no locks and i unlocked all parent dirs i still get the document is in use by another application and can not be accessed dang. Oops - reply on wrong thread :( but yeah, must drink koolaide...

            1 Reply Last reply
            0
            • L Luc Pattyn

              Steve Hazel wrote:

              The owning dir is locked by explorer twice.

              Huh? What does that mean? How do you come to that observation? locked twice?? Anyway, there are many possible causes which I will not try and list here; and as you persist in not providing any details... :omg:

              Luc Pattyn [Forum Guidelines] [My Articles]


              DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


              S Offline
              S Offline
              stephen hazel
              wrote on last edited by
              #11

              > what is the destination of your copy? c:\_\Src\PianoCheater\_bod.html > which file causes the problem, the source or the destination? destination - one above. > and what exactly are the symptoms? wordpad says the document is in use by another application and can not be accessed. no locks on the file. locks on all parent dirs killed by "unlocker" app mentioned above. i guess it's still pretty impossible to determine the prob from where you're sittin'. i just thought there'd be an obvious answer due to vista being involved. So nevermind. i'll just keep the headbangin' goin'... ...Steve

              L 1 Reply Last reply
              0
              • S stephen hazel

                > what is the destination of your copy? c:\_\Src\PianoCheater\_bod.html > which file causes the problem, the source or the destination? destination - one above. > and what exactly are the symptoms? wordpad says the document is in use by another application and can not be accessed. no locks on the file. locks on all parent dirs killed by "unlocker" app mentioned above. i guess it's still pretty impossible to determine the prob from where you're sittin'. i just thought there'd be an obvious answer due to vista being involved. So nevermind. i'll just keep the headbangin' goin'... ...Steve

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #12

                it's still a wild guess, but this[^] may apply. If not I recommend you start looking into these[^]. Do you have IIS? and what do you have to do to WordPad in order to get the message "the document is in use by another application and can not be accessed"? BTW: does a reboot change anything? :)

                Luc Pattyn [Forum Guidelines] [My Articles]


                DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


                S 1 Reply Last reply
                0
                • S stephen hazel

                  Ok, I'm sorry to bring this up. I've hit google and can't find the definitive source of my problem. I'm on vista business. A frackin file i copy from my usb stick keeps getting locked or set to readonly or SOMETHING for no apparent reason that I can see. Has anybody else suffered through this? My guess is yes. SORRY! And yes. I hate vista. ...Steve

                  S Offline
                  S Offline
                  Steve Mayfield
                  wrote on last edited by
                  #13

                  in my limited experience, the contents of system directories (all of the "Windows" directories & most of the "Program Files") of Vista are normally set to read-only at the user level. Does the security information carry over from one NTSF file system to another? Maybe check the security settings of the file after you copy it?

                  Steve _________________ I C(++) therefore I am

                  1 Reply Last reply
                  0
                  • L Luc Pattyn

                    it's still a wild guess, but this[^] may apply. If not I recommend you start looking into these[^]. Do you have IIS? and what do you have to do to WordPad in order to get the message "the document is in use by another application and can not be accessed"? BTW: does a reboot change anything? :)

                    Luc Pattyn [Forum Guidelines] [My Articles]


                    DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


                    S Offline
                    S Offline
                    stephen hazel
                    wrote on last edited by
                    #14

                    no iis / wordpad's save gets me the message / reboot changes nothin' / dang :)

                    L 1 Reply Last reply
                    0
                    • S stephen hazel

                      no iis / wordpad's save gets me the message / reboot changes nothin' / dang :)

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #15

                      OK, here are a few experiments for you to perform: 1. first copy file as usual 2. make sure WordPad refuses to save 3. now try renaming file with Windows Explorer 4. then try deleting file with Windows Explorer 5. wait 10 seconds (more if file is greater than 1MB) 6. repeat step 2 7. repeat step 3 8. repeat step 4 please report success/failure on steps 2,3,4,6,7,8 Also: try WordPad on another text file with a different extension copied into the same folder. EDIT: just read your latest message; way to go! /EDIT :)

                      Luc Pattyn [Forum Guidelines] [My Articles]


                      DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


                      S 1 Reply Last reply
                      0
                      • S stephen hazel

                        Ok, I'm sorry to bring this up. I've hit google and can't find the definitive source of my problem. I'm on vista business. A frackin file i copy from my usb stick keeps getting locked or set to readonly or SOMETHING for no apparent reason that I can see. Has anybody else suffered through this? My guess is yes. SORRY! And yes. I hate vista. ...Steve

                        S Offline
                        S Offline
                        stephen hazel
                        wrote on last edited by
                        #16

                        Oh man I'm so sorry :( I figured out what I was dorkin' up. Ya knowwww vista's preview of the selected file in win explorer? Over there on the right? Well, although the "unlocker" app mentioned reports no locks on it, Explorer is doing SOMEthing during that preview. When I edit the file and pick another file to preview, I can save just fine. Aaaargh !! I'm so dumb X| ...Steve

                        S 1 Reply Last reply
                        0
                        • S stephen hazel

                          Oh man I'm so sorry :( I figured out what I was dorkin' up. Ya knowwww vista's preview of the selected file in win explorer? Over there on the right? Well, although the "unlocker" app mentioned reports no locks on it, Explorer is doing SOMEthing during that preview. When I edit the file and pick another file to preview, I can save just fine. Aaaargh !! I'm so dumb X| ...Steve

                          S Offline
                          S Offline
                          stephen hazel
                          wrote on last edited by
                          #17

                          but, ya know, i'm not as dumb as some people. you'ld think that'd throw a LOTTA grammas for a loop and piss em off...:)

                          1 Reply Last reply
                          0
                          • L Luc Pattyn

                            OK, here are a few experiments for you to perform: 1. first copy file as usual 2. make sure WordPad refuses to save 3. now try renaming file with Windows Explorer 4. then try deleting file with Windows Explorer 5. wait 10 seconds (more if file is greater than 1MB) 6. repeat step 2 7. repeat step 3 8. repeat step 4 please report success/failure on steps 2,3,4,6,7,8 Also: try WordPad on another text file with a different extension copied into the same folder. EDIT: just read your latest message; way to go! /EDIT :)

                            Luc Pattyn [Forum Guidelines] [My Articles]


                            DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.


                            S Offline
                            S Offline
                            stephen hazel
                            wrote on last edited by
                            #18

                            Heheh :)

                            1 Reply Last reply
                            0
                            • S stephen hazel

                              Ok, I'm sorry to bring this up. I've hit google and can't find the definitive source of my problem. I'm on vista business. A frackin file i copy from my usb stick keeps getting locked or set to readonly or SOMETHING for no apparent reason that I can see. Has anybody else suffered through this? My guess is yes. SORRY! And yes. I hate vista. ...Steve

                              C Offline
                              C Offline
                              Christian Graus
                              wrote on last edited by
                              #19

                              Vista works out it's coming from removable media. You will also find there are locations you can't copy to. You can right click the file once it's copied onto your PC and push a button to say you trust the file.

                              Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups