Re: Return value ???

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:...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-29-2005
Wayne Davison
 
Posts: n/a
Default Re: Return value ???


--+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--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0