This is a discussion on Re: Return value ??? within the Rsync forums, part of the Networking and Network Related category; --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 29, 2005 at 11:59:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 29, 2005 at 11:59:53AM +0200, Judith Flo wrote: > Excuse me, > The permissions of the destination directory are 600 (no > execution permissions neither for the user, nor the rest of users). Ahhh! That makes a big difference from mode 700 (which I assumed meant that the dir was owned by a different user). Also, including the actual error message in your report is very helpful. This allowed me to pinpoint the stat() error in the generator that was only being reported if verbosity was at least -vv. The test for "verbose > 1" before outputting the stat() error is very old, but doesn't make any sense to me. I just removed it in CVS. The attached patch shows the change. Thanks for your bug-report! ...wayne.. --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="stat.patch" --- generator.c 6 Sep 2005 18:12:38 -0000 1.222 +++ generator.c 29 Sep 2005 17:04:37 -0000 @@ -1029,11 +1029,8 @@ static void recv_generator(char *fname, return; if (stat_errno == ENOENT) goto notify_others; - if (verbose > 1) { - rsyserr(FERROR, stat_errno, - "recv_generator: failed to stat %s", - full_fname(fname)); - } + rsyserr(FERROR, stat_errno, "recv_generator: failed to stat %s", + full_fname(fname)); return; } --+QahgC5+KEYLbs62 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html --+QahgC5+KEYLbs62-- |