ntfs issue with rsync: read errors mapping permission denied (13)
I have an issue when I want to rsync folders from my external backup hard disk to my NAS.
I get this error :
read errors mapping permission denied (13)
I have root rights; if I want to change the user's right via chmod, nothing changes. With Windows, the owner is changed but the copy doesn't work.
S.M.A.R.T tests is OK.
The ntfsfix tests provide no error.
I tried to made an chdisk from windows with no results.
Do you have any idea for repair or a tricks to recover my files ?
files permissions rsync ntfs ntfs-3g
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I have an issue when I want to rsync folders from my external backup hard disk to my NAS.
I get this error :
read errors mapping permission denied (13)
I have root rights; if I want to change the user's right via chmod, nothing changes. With Windows, the owner is changed but the copy doesn't work.
S.M.A.R.T tests is OK.
The ntfsfix tests provide no error.
I tried to made an chdisk from windows with no results.
Do you have any idea for repair or a tricks to recover my files ?
files permissions rsync ntfs ntfs-3g
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Are you sure it saysread errors mapping permission denied (13)
and notread errors mapping {filename}: permission denied (13)
, for some value of{filename}
? Please update your question with the exact error message and also thersync
command line you used.
– roaima
Sep 16 '15 at 22:43
add a comment |
I have an issue when I want to rsync folders from my external backup hard disk to my NAS.
I get this error :
read errors mapping permission denied (13)
I have root rights; if I want to change the user's right via chmod, nothing changes. With Windows, the owner is changed but the copy doesn't work.
S.M.A.R.T tests is OK.
The ntfsfix tests provide no error.
I tried to made an chdisk from windows with no results.
Do you have any idea for repair or a tricks to recover my files ?
files permissions rsync ntfs ntfs-3g
I have an issue when I want to rsync folders from my external backup hard disk to my NAS.
I get this error :
read errors mapping permission denied (13)
I have root rights; if I want to change the user's right via chmod, nothing changes. With Windows, the owner is changed but the copy doesn't work.
S.M.A.R.T tests is OK.
The ntfsfix tests provide no error.
I tried to made an chdisk from windows with no results.
Do you have any idea for repair or a tricks to recover my files ?
files permissions rsync ntfs ntfs-3g
files permissions rsync ntfs ntfs-3g
edited Sep 8 '15 at 14:37
Jeff Schaller
41.2k1056131
41.2k1056131
asked Sep 8 '15 at 14:05
user3588719user3588719
12
12
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Are you sure it saysread errors mapping permission denied (13)
and notread errors mapping {filename}: permission denied (13)
, for some value of{filename}
? Please update your question with the exact error message and also thersync
command line you used.
– roaima
Sep 16 '15 at 22:43
add a comment |
Are you sure it saysread errors mapping permission denied (13)
and notread errors mapping {filename}: permission denied (13)
, for some value of{filename}
? Please update your question with the exact error message and also thersync
command line you used.
– roaima
Sep 16 '15 at 22:43
Are you sure it says
read errors mapping permission denied (13)
and not read errors mapping {filename}: permission denied (13)
, for some value of {filename}
? Please update your question with the exact error message and also the rsync
command line you used.– roaima
Sep 16 '15 at 22:43
Are you sure it says
read errors mapping permission denied (13)
and not read errors mapping {filename}: permission denied (13)
, for some value of {filename}
? Please update your question with the exact error message and also the rsync
command line you used.– roaima
Sep 16 '15 at 22:43
add a comment |
1 Answer
1
active
oldest
votes
I have a similar issue and have identified a potential cause. In short, I believe that this is caused by corruption of the source data as I have since proven that other copy commands (cp
) and basic reading of the files (less
) give read errors. I have not attempted to identify/fix any file system errors.
I am trying to duplicate the contents of one (large internal RAID) partition to a (smaller) USB drive, which has sufficient space for all the data. Both are formatted with ntfs (I'm solving a Windows-10-unexpectedly-does-not-support-my-RAID-card issue). I am using a MintOS image on a USB stick then copying the files using rsync -a Source/ Destination
.
A handful of files, all in a single directory, generate errors each time I run the command. The files themselves include a text (.txt) file, a PDF (.pdf) file and five binary disk image files (.dsk).
The errors seen are similar to these:
rsync: read errors mapping "full_file_path": Permission denied (13)
...
ERROR: <folder>/<filename> failed verification -- update discarded.
...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
It looks like the first entry, including the Permission denied (13) bit, happens twice, which I believe to be rsync
attempting to copy the file twice.
If I try to copy the files using cp
I get the following errors, with zero-sized files created on the Destination.
cp: error reading ‘path_to_Source_file’: Permission denied
cp: failed to extend ‘path_to_Destination_file’: Permission denied
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%2f228281%2fntfs-issue-with-rsync-read-errors-mapping-permission-denied-13%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
I have a similar issue and have identified a potential cause. In short, I believe that this is caused by corruption of the source data as I have since proven that other copy commands (cp
) and basic reading of the files (less
) give read errors. I have not attempted to identify/fix any file system errors.
I am trying to duplicate the contents of one (large internal RAID) partition to a (smaller) USB drive, which has sufficient space for all the data. Both are formatted with ntfs (I'm solving a Windows-10-unexpectedly-does-not-support-my-RAID-card issue). I am using a MintOS image on a USB stick then copying the files using rsync -a Source/ Destination
.
A handful of files, all in a single directory, generate errors each time I run the command. The files themselves include a text (.txt) file, a PDF (.pdf) file and five binary disk image files (.dsk).
The errors seen are similar to these:
rsync: read errors mapping "full_file_path": Permission denied (13)
...
ERROR: <folder>/<filename> failed verification -- update discarded.
...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
It looks like the first entry, including the Permission denied (13) bit, happens twice, which I believe to be rsync
attempting to copy the file twice.
If I try to copy the files using cp
I get the following errors, with zero-sized files created on the Destination.
cp: error reading ‘path_to_Source_file’: Permission denied
cp: failed to extend ‘path_to_Destination_file’: Permission denied
add a comment |
I have a similar issue and have identified a potential cause. In short, I believe that this is caused by corruption of the source data as I have since proven that other copy commands (cp
) and basic reading of the files (less
) give read errors. I have not attempted to identify/fix any file system errors.
I am trying to duplicate the contents of one (large internal RAID) partition to a (smaller) USB drive, which has sufficient space for all the data. Both are formatted with ntfs (I'm solving a Windows-10-unexpectedly-does-not-support-my-RAID-card issue). I am using a MintOS image on a USB stick then copying the files using rsync -a Source/ Destination
.
A handful of files, all in a single directory, generate errors each time I run the command. The files themselves include a text (.txt) file, a PDF (.pdf) file and five binary disk image files (.dsk).
The errors seen are similar to these:
rsync: read errors mapping "full_file_path": Permission denied (13)
...
ERROR: <folder>/<filename> failed verification -- update discarded.
...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
It looks like the first entry, including the Permission denied (13) bit, happens twice, which I believe to be rsync
attempting to copy the file twice.
If I try to copy the files using cp
I get the following errors, with zero-sized files created on the Destination.
cp: error reading ‘path_to_Source_file’: Permission denied
cp: failed to extend ‘path_to_Destination_file’: Permission denied
add a comment |
I have a similar issue and have identified a potential cause. In short, I believe that this is caused by corruption of the source data as I have since proven that other copy commands (cp
) and basic reading of the files (less
) give read errors. I have not attempted to identify/fix any file system errors.
I am trying to duplicate the contents of one (large internal RAID) partition to a (smaller) USB drive, which has sufficient space for all the data. Both are formatted with ntfs (I'm solving a Windows-10-unexpectedly-does-not-support-my-RAID-card issue). I am using a MintOS image on a USB stick then copying the files using rsync -a Source/ Destination
.
A handful of files, all in a single directory, generate errors each time I run the command. The files themselves include a text (.txt) file, a PDF (.pdf) file and five binary disk image files (.dsk).
The errors seen are similar to these:
rsync: read errors mapping "full_file_path": Permission denied (13)
...
ERROR: <folder>/<filename> failed verification -- update discarded.
...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
It looks like the first entry, including the Permission denied (13) bit, happens twice, which I believe to be rsync
attempting to copy the file twice.
If I try to copy the files using cp
I get the following errors, with zero-sized files created on the Destination.
cp: error reading ‘path_to_Source_file’: Permission denied
cp: failed to extend ‘path_to_Destination_file’: Permission denied
I have a similar issue and have identified a potential cause. In short, I believe that this is caused by corruption of the source data as I have since proven that other copy commands (cp
) and basic reading of the files (less
) give read errors. I have not attempted to identify/fix any file system errors.
I am trying to duplicate the contents of one (large internal RAID) partition to a (smaller) USB drive, which has sufficient space for all the data. Both are formatted with ntfs (I'm solving a Windows-10-unexpectedly-does-not-support-my-RAID-card issue). I am using a MintOS image on a USB stick then copying the files using rsync -a Source/ Destination
.
A handful of files, all in a single directory, generate errors each time I run the command. The files themselves include a text (.txt) file, a PDF (.pdf) file and five binary disk image files (.dsk).
The errors seen are similar to these:
rsync: read errors mapping "full_file_path": Permission denied (13)
...
ERROR: <folder>/<filename> failed verification -- update discarded.
...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
It looks like the first entry, including the Permission denied (13) bit, happens twice, which I believe to be rsync
attempting to copy the file twice.
If I try to copy the files using cp
I get the following errors, with zero-sized files created on the Destination.
cp: error reading ‘path_to_Source_file’: Permission denied
cp: failed to extend ‘path_to_Destination_file’: Permission denied
answered Jan 11 '16 at 0:27
Charlie JoyntCharlie Joynt
1258
1258
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%2f228281%2fntfs-issue-with-rsync-read-errors-mapping-permission-denied-13%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
Are you sure it says
read errors mapping permission denied (13)
and notread errors mapping {filename}: permission denied (13)
, for some value of{filename}
? Please update your question with the exact error message and also thersync
command line you used.– roaima
Sep 16 '15 at 22:43