[Bug 11893] New: rsync should check local file access permission before connecting to remote end

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 11893] New: rsync should check local file access permission before connecting to remote end

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11893

            Bug ID: 11893
           Summary: rsync should check local file access permission before
                    connecting to remote end
           Product: rsync
           Version: 3.1.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

I'm using rsync to transfer large OS image files around and sometimes the local
permissions change so that the sender does not have access to the source file
any more.

Having previously transferred the file there is already a file of matching size
on the target host. Now attempting the transfer again rsync connects to the
remote end and the remote end begins to do its checks before the transfer
proper. Because the image file is large this will take a long time (10
minutes).

After this rsync will report the "Permission denied" error for the local file.

It would be more user-friendly to check the local file access permissions
before doing anything time consuming and exit with an error as soon as
possible.

Please consider changing this behaviour.

--
You are receiving this mail because:
You are the QA Contact for the bug.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html