Hi,
Intermittently I have observed the above error on some isolated files during an rsync session.
The full error text is:
rsync: open "some file" (in source host): failed. Permission denied (13)
I have checked the files in question, and they exist, and have standard NTFS permissions. The file path would be less than 80 characters.
Any idea what would be causing the error message?
Thank you.
Vaughan
Is your CYGWIN variable set to nontsec? This is necessary to make rsync operate as expected. There is a batch file example available from start menu, starting rsync in a correct environment.
Hi,
Yes it is, I checked that.
It's not all files, just some. And the files that pop-up are often the same, so it is not totally random. But it's not NTFS permissions. It's not a long file path, I don't think there are any 'illegal' characters in the filename. It is not clear to me what the problem could be.
Vaughan
Hi,
I have been investigating the errors, and mostly they're NTFS based where the owner is unknown. However the following file looks OK from an NTFS perspective:
rsync: open "/d/CLIENT DATA FILES/GL6321/2003 accounts/GMS20030531.mbf" (in serv0103) failed: Permission denied (13)
Any ideas?
Vaughan
Can you run CACLS problem file and send results ? It will show what permissions that specific file has.
D:\CLIENT DATA FILES\GL6321\2003 accounts>cacls gms20030531.mbfD:\CLIENT DATA FILES\GL6321\2003 accounts\GMS20030531.mbf BUILTIN\Administrators:F
NT AUTHORITY\Authenticated Users:C Everyone:R
NT AUTHORITY\SYSTEM:F
rsync is running via a user in the Administrators group
Hi,
When you look at the log report, each file has an entry. This particular file has the following entry: