unable to delete file - rm: cannot remove Input/output error
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
add a comment |
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
Some file is in my NTFS file system which I can't delete. It's giving this error:
rm: cannot remove `zigBqC04': Input/output error
Any other files also could not be copied in that folder and showing error message as:
Error opening file 'file-path': Input/output error
Any solution.
command-line permissions security
command-line permissions security
edited May 7 '14 at 13:55
Parto
9,5841967105
9,5841967105
asked Jul 27 '13 at 15:54
PrakharPrakhar
163115
163115
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46
add a comment |
5 Answers
5
active
oldest
votes
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
The same circumstance I met. I am pretty sure I am going to delete the directory. So I try to use rm -rf XXX
and also Shift + Delete
to remove but both failed because of the same error. Interestingly, I fixed it by right clicking the directory Move to Trash
and then Empty Trash
. Hope works for you too.
add a comment |
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f325343%2funable-to-delete-file-rm-cannot-remove-input-output-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
add a comment |
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
add a comment |
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
Looks like the filesystem has some errors on it. Do full scandisk /checkdisk from windows.
(scan disk for errors)
answered Jul 28 '13 at 10:03
staticdstaticd
1,73211116
1,73211116
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
add a comment |
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
That's probably the best one can do without damaging the proprietary filesystem or replacing the filesystem.
– LiveWireBT
Jul 28 '13 at 10:30
1
1
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
@staticd As of 2019, is this still the best solution? I'm using the latest version of KDE, and am more interested in a *buntu specific solution.
– Sarah Szabo
Jan 4 at 7:58
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
may need to be logged in a root to do this. If so, type:
sudo su
in to Terminal and navigate with terminal to where zigBqC04
is and rm <filename>
to remove files or rmdir <dir>
to delete folders replace <---> with the file or folder name. Wild cards ( & ?) can be used.*
answered Jul 27 '13 at 16:03
SimplySimonSimplySimon
3,89072750
3,89072750
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
I also tried as a root but still can't.
– Prakhar
Jul 27 '13 at 17:20
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
add a comment |
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
If it is an NTFS or FAT file system and you don't have access to Windows just copy the files that you want to keep from the USB drive onto your hard drive. Then format the USB drive again using GPARTED or similar partition manager to NTFS or FAT. Followed by copying all the files back onto the USB drive. Worked for me.
answered Sep 3 '17 at 18:13
Jacques MALAPRADEJacques MALAPRADE
60521025
60521025
add a comment |
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
add a comment |
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
A workaround that thankfully worked for me was to plug the drive into a Windows system and delete the offending files and folders using Shift + Delete (immediate delete without Recycle Bin).
After that, the issue seemed to be resolved when the drive was returned to Ubuntu.
answered Dec 18 '18 at 4:55
Shaun of the DeadShaun of the Dead
314
314
add a comment |
add a comment |
The same circumstance I met. I am pretty sure I am going to delete the directory. So I try to use rm -rf XXX
and also Shift + Delete
to remove but both failed because of the same error. Interestingly, I fixed it by right clicking the directory Move to Trash
and then Empty Trash
. Hope works for you too.
add a comment |
The same circumstance I met. I am pretty sure I am going to delete the directory. So I try to use rm -rf XXX
and also Shift + Delete
to remove but both failed because of the same error. Interestingly, I fixed it by right clicking the directory Move to Trash
and then Empty Trash
. Hope works for you too.
add a comment |
The same circumstance I met. I am pretty sure I am going to delete the directory. So I try to use rm -rf XXX
and also Shift + Delete
to remove but both failed because of the same error. Interestingly, I fixed it by right clicking the directory Move to Trash
and then Empty Trash
. Hope works for you too.
The same circumstance I met. I am pretty sure I am going to delete the directory. So I try to use rm -rf XXX
and also Shift + Delete
to remove but both failed because of the same error. Interestingly, I fixed it by right clicking the directory Move to Trash
and then Empty Trash
. Hope works for you too.
answered Feb 22 at 7:04
Bowen XuBowen Xu
1012
1012
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f325343%2funable-to-delete-file-rm-cannot-remove-input-output-error%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
Related/duplicate: askubuntu.com/q/74105/44293
– Bleeding Fingers
Jun 6 '15 at 20:46