+ Post New Thread
Results 1 to 7 of 7
Office Software Thread, "File Locked for Editing By..." has Wrong Name - how?! in Technical; You know the "This file is locked for editing by..." message in Office? Well, we've got a weird one here ...
  1. #1
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,456
    Thank Post
    279
    Thanked 196 Times in 167 Posts
    Rep Power
    75

    "File Locked for Editing By..." has Wrong Name - how?!

    You know the "This file is locked for editing by..." message in Office? Well, we've got a weird one here whereby whoever opens a specific file, it says "This file is locked for editing by Mr A" even though Mr B has the file open. If Mr B opens a different file, then it reports correctly that Mr B has it open, so it isn't anything to do with Mr B's settings.

    Any ideas?!

    This isn't a major problem, but is bugging me! Plus, it can be annoying if you desperately need that file, so got to Mr A and ask him to close it, then find he doesn't have it open.

  2. #2
    NikChillin's Avatar
    Join Date
    Nov 2007
    Location
    on the sofa
    Posts
    911
    Thank Post
    54
    Thanked 121 Times in 85 Posts
    Rep Power
    85
    I have noticed that if you have the file selected in the directory it will not permit deleting or moving, we have had this before too and it is a pain although not quite sure what the exact cause is.

  3. #3
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,456
    Thank Post
    279
    Thanked 196 Times in 167 Posts
    Rep Power
    75
    Quote Originally Posted by NikChillin View Post
    I have noticed that if you have the file selected in the directory it will not permit deleting or moving
    So, let me get this straight. You're suggesting that Mr A has My Computer open and has highlighted the file, Mr B opens the file quite happily, but when Mr C comes to open it, they're told Mr A has it locked because he has it highlighted. Yes?

  4. #4
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,456
    Thank Post
    279
    Thanked 196 Times in 167 Posts
    Rep Power
    75
    Sorry, that sounded a bit critical and I didn't mean it to. I just want to clarify the scenario you're proposing so that I know what to replicate here so that I can test it.

  5. #5

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,576
    Thank Post
    869
    Thanked 1,293 Times in 786 Posts
    Blog Entries
    1
    Rep Power
    436
    When Word opens a file it generally creates a hidden temp version of the file, that files owner is usually the person shown as locking the file and I think if Mr A opens the file originally, he creates the temp file which is *ownered* to him so when Mr B's word see's the file it displays the message with Mr A the current owner. I think though if Mr A closes the word document while Mr B has it open the temp file is not cleaned up and Mr A keeps ownership of the temp file which means Mr C will see Mr A as locking the file although its actually Mr B in control.
    Word cant directly query the FS/Kernel to find out who is locking if its on a share so it has to use this owner based scanning of a hidden temp file.

  6. Thanks to ZeroHour from:

    enjay (12th February 2013)

  7. #6

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,724
    Thank Post
    696
    Thanked 1,206 Times in 759 Posts
    Rep Power
    393
    I suspect that Mr A had the file open at some point in the past, then experienced a crash of Word/Windows which meant the lock file was not deleted as Word never officially closed the file. Now it is stuck there in limbo. Turn on hidden files and look for the associated lock file, and delete it. For example, for a document named Ducking Word Document.docx, the lock file will be named ~$cking Word Document.docx

  8. Thanks to AngryTechnician from:

    enjay (12th February 2013)

  9. #7
    enjay's Avatar
    Join Date
    Apr 2007
    Location
    Reading, Berkshire, UK
    Posts
    4,456
    Thank Post
    279
    Thanked 196 Times in 167 Posts
    Rep Power
    75
    I think it might have been that hidden file - there was a ~$filename.docx dating back to November created by Mr A, which was evidently preventing another one getting by Mr B when he opened it.

    Thanks!
    Last edited by enjay; 12th February 2013 at 09:25 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. Files locked for editing - but they are not
    By glennda in forum Windows 7
    Replies: 7
    Last Post: 9th September 2011, 09:37 AM
  2. Recommend (or quote) a PC for my in-laws
    By elsiegee40 in forum Hardware
    Replies: 9
    Last Post: 10th January 2010, 09:16 PM
  3. [Quote] Kensington Locks
    By FN-GM in forum Our Advertisers
    Replies: 4
    Last Post: 20th October 2009, 09:22 AM
  4. Replies: 5
    Last Post: 7th July 2009, 02:19 PM
  5. [MS Office - 2003] xx.xls locked for editing
    By Little-Miss in forum Office Software
    Replies: 4
    Last Post: 22nd April 2009, 10:51 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •