1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Locked file

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

  1. zxspectrum

    zxspectrum Gigabyte Poster Premium Member

    1,666
    54
    139
    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

    dmarsh Terabyte Poster

    3,782
    302
    184
    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.
     
    Certifications: CITP, BSc, HND, SCJP, SCJD, SCWCD, SCBCD, SCEA, N+, Sec+, Proj+, Server+, Linux+, MCTS, MCPD, MCSA, MCITP, CCDH
  3. zxspectrum

    zxspectrum Gigabyte Poster Premium Member

    1,666
    54
    139
    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...