How can I unlock a file locked for editing by DESKTOP/Username?
Clash Royale CLAN TAG#URR8PPP
How can I unlock the file below on Mint 19?
This is a LibreOffice document I had opened when my PC crashed.
files linux-mint libreoffice
add a comment |
How can I unlock the file below on Mint 19?
This is a LibreOffice document I had opened when my PC crashed.
files linux-mint libreoffice
1
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40
add a comment |
How can I unlock the file below on Mint 19?
This is a LibreOffice document I had opened when my PC crashed.
files linux-mint libreoffice
How can I unlock the file below on Mint 19?
This is a LibreOffice document I had opened when my PC crashed.
files linux-mint libreoffice
files linux-mint libreoffice
edited Feb 6 at 14:50
Matthew Wai
asked Feb 6 at 13:13
Matthew WaiMatthew Wai
1085
1085
1
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40
add a comment |
1
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40
1
1
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40
add a comment |
1 Answer
1
active
oldest
votes
Linux has no unified locking mechanism on files. There are various types of advisory locking mechanisms but they don't work on all file systems. This means applications usually use their own mechanism. The most common trick is to create a hidden "lock" file next to the original. If the hidden "lock" file exists, the application will refuse to open the file.
See here for LibreOffice: https://ask.libreoffice.org/en/question/110863/files-locked-for-editing/
Ususally you would remove the lock by closing the application, but with lock files, the application can crash without first removing the file. If this happens you have to remove the file manually.
I suggest you try to view hidden files in the same directory and look for a file named something like:
.~lock.1 Mint 2019.odt#
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499042%2fhow-can-i-unlock-a-file-locked-for-editing-by-desktop-username%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Linux has no unified locking mechanism on files. There are various types of advisory locking mechanisms but they don't work on all file systems. This means applications usually use their own mechanism. The most common trick is to create a hidden "lock" file next to the original. If the hidden "lock" file exists, the application will refuse to open the file.
See here for LibreOffice: https://ask.libreoffice.org/en/question/110863/files-locked-for-editing/
Ususally you would remove the lock by closing the application, but with lock files, the application can crash without first removing the file. If this happens you have to remove the file manually.
I suggest you try to view hidden files in the same directory and look for a file named something like:
.~lock.1 Mint 2019.odt#
add a comment |
Linux has no unified locking mechanism on files. There are various types of advisory locking mechanisms but they don't work on all file systems. This means applications usually use their own mechanism. The most common trick is to create a hidden "lock" file next to the original. If the hidden "lock" file exists, the application will refuse to open the file.
See here for LibreOffice: https://ask.libreoffice.org/en/question/110863/files-locked-for-editing/
Ususally you would remove the lock by closing the application, but with lock files, the application can crash without first removing the file. If this happens you have to remove the file manually.
I suggest you try to view hidden files in the same directory and look for a file named something like:
.~lock.1 Mint 2019.odt#
add a comment |
Linux has no unified locking mechanism on files. There are various types of advisory locking mechanisms but they don't work on all file systems. This means applications usually use their own mechanism. The most common trick is to create a hidden "lock" file next to the original. If the hidden "lock" file exists, the application will refuse to open the file.
See here for LibreOffice: https://ask.libreoffice.org/en/question/110863/files-locked-for-editing/
Ususally you would remove the lock by closing the application, but with lock files, the application can crash without first removing the file. If this happens you have to remove the file manually.
I suggest you try to view hidden files in the same directory and look for a file named something like:
.~lock.1 Mint 2019.odt#
Linux has no unified locking mechanism on files. There are various types of advisory locking mechanisms but they don't work on all file systems. This means applications usually use their own mechanism. The most common trick is to create a hidden "lock" file next to the original. If the hidden "lock" file exists, the application will refuse to open the file.
See here for LibreOffice: https://ask.libreoffice.org/en/question/110863/files-locked-for-editing/
Ususally you would remove the lock by closing the application, but with lock files, the application can crash without first removing the file. If this happens you have to remove the file manually.
I suggest you try to view hidden files in the same directory and look for a file named something like:
.~lock.1 Mint 2019.odt#
edited Feb 6 at 13:34
answered Feb 6 at 13:29
Philip CoulingPhilip Couling
1,255918
1,255918
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499042%2fhow-can-i-unlock-a-file-locked-for-editing-by-desktop-username%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Could you edit your question to say which application you are trying to open the file with. Also you might want to explain why you want to forcibly unlock the file.
– Philip Couling
Feb 6 at 13:30
Your answer below has already solved my problem. Thank you! The application was LibreOffice on host Mint. My PC had crashed when I was editing the file in question on guest Windows in VirtualBox.
– Matthew Wai
Feb 6 at 14:40