Locked file

Discussion in 'Software' started by zxspectrum, Jan 14, 2015.

  1. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,094
    219
    244
    Hey all

    Just a quick question. Would anyone have an idea why a shared file would be locked to a user even though the user has logged off and the file isn't open anymore. We have checked on the staff server to make sure that it is not being accessed by the user and he isn't, but it still comes up as locked??


    Any ideas

    Cheers

    ZX
     
    Certifications: BSc computing and information systems
    WIP: 70-680
  2. dmarsh
    Honorary Member 500 Likes Award

    dmarsh Petabyte Poster

    4,306
    503
    259
    Operating system file locks are released on a shut down.

    Sometimes programs create 'lock files' to stop concurrent access, you may need to delete them manually after a crash.
     
  3. zxspectrum

    zxspectrum Terabyte Poster Forum Leader Gold Member

    2,094
    219
    244
    This was a strange one as I had to find a work around. What I did was basically make a copy of the original file, and called uni work 2 etc, which solved the problem and people can now freely see and use the file. I was getting told that one particular user was using the file, however he had logged off, and when he tried to access the file, it told him that the file was locked to his account. It transpired that there was another user who had the file opened as she had not disconnected from a terminal server correctly, meaning that her session in effect was open.

    The first user said this happens on a random basis???? and i cant understand why a file locked to the first user was really not locked to him in the first place???

    Strange but sorted

    Thanks DM

    ZX
     
    Certifications: BSc computing and information systems
    WIP: 70-680

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.