Re: Return value ???

This is a discussion on Re: Return value ??? within the Rsync forums, part of the Networking and Network Related category; Hi I'm sorry I forgot to mention the scenario: We use rsync 2.6.6 (in both sides) from ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

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

Hi
I'm sorry I forgot to mention the scenario:

We use rsync 2.6.6 (in both sides) from Debian to Suse with -e option
(SSH tunnel)
The destination directory has 700 permisions...
Think that's all...
Thanks again
j

> Hi!
> Is it normal to get different return codes from the same rsync command
> (except for the verbosity option)??
>
> The directory where we want to rsync don't permit write operations (so
> we should get an
> "Permission denied" (23) code.
> Note that we "rename" the file to file2 in the destination directory.
>
> We just type:
> > rsync -a file server:dir_without_permisions/file2
> > echo $?
> > 0

>
> And then
> > rsync -av file server:dir_without_permisions/file2
> > echo $?
> > 0

>
>
> But when we type
> > rsync -avv file server:dir_without_permisions/file2
> > echo $?
> > 23

>
> Does someone get the same behavior??
>
> Thanks
> Judith



--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
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 03:58 AM.


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