This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rsync: rename .file.JVPk8f -> file: Device or resource busy (16)


> Ok, so you're admin. ÂI assume that `id' lists the administrators
> group in your supplementary group list?

true

> Not really. ÂSo, with the above permissions, rsync fails but mv works,
> right? ÂWhat's important when using mv is to mv the file within the
> same filesystem. ÂRsync does not fail to copy the file to the USB
> stick. ÂIt fails when trying to rename the copied file on the USB stick
> from its temporary name (.file.foo) to the desired target name. ÂThis
> renaming is what we have to check for. ÂSo, what das mv say when you
> try to just rename the file? ÂWhat if you cp the file to the USB stick
> and then try to mv it to another name there?
works perfectly fine.

> Can you please create an strace rsyncing just this single file with
> the failing permissions?

Log file is attached.
In fact I saw that even with full control to my-self on local hard
drive it fails sometimes so this was a bad idea.

> And please add the output of `cacls the_file'.  It's more exact to
> show the ACL than the GUI.
G:\Sauvegarde\Documents\Fred\bin\.pdfbook.exe.w6rU9f Tout le monde:F

"Tout le monde" in French means Everyone en English!

FrÃdÃric

Attachment: rsync_strace.txt.bz2
Description: BZip2 compressed data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]