Re: Return value ???

This is a discussion on Re: Return value ??? within the Rsync forums, part of the Networking and Network Related category; Excuse me, The permissions of the destination directory are 600 (no execution permissions neither for the user, nor the rest ...


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
Judith Flo
 
Posts: n/a
Default Re: Return value ???

Excuse me,
The permissions of the destination directory are 600 (no
execution permissions neither for the user, nor the rest of users).
I don't use a script (i did but after got that error i did the
test without it)

As i said in the first message, the command is:

yoshi:~$ rsync -av sinc.sh -e "ssh -o ForwardX11=no -l yoshi_r" remote:.ssh/sinc2

Password:

building file list ... done

sent 78 bytes received 20 bytes 28.00 bytes/sec

total size is 34665 speedup is 353.72

yoshi:~$ echo $?

0

That command has no effect in remote host (Remember that user has no
x permission in .ssh on remote side)

BUT, if i do:

yoshi:~$ rsync -avv sinc.sh -e "ssh -o ForwardX11=no -l yoshi_r" remote:.ssh/sinc2

opening connection using ssh -o ForwardX11=no -l yoshi_r remote rsync --server -vvlogDtpr . .ssh/sinc2

Password:

Password:

building file list ...

done

delta-transmission enabled

rsync: recv_generator: failed to stat "/home4/yoshi/.ssh/sinc2": Permission denied (13)

total: matches=0 tag_hits=0 false_alarms=0 data=0

sent 78 bytes received 20 bytes 10.32 bytes/sec

total size is 34665 speedup is 353.72

rsync error: some files could not be transferred (code 23) at main.c(791)

yoshi:~$ echo $?

23


Hope that helps
j

Wayne Davison wrote:

>No, that's not normal at all, and I can't reproduce such a situation. I
>always see a return code of 23 from rsync if it can't copy a file into a
>directory (and also an error about the inability to open the temp file
>in the unwritable directory). Do you have a script, function, or alias
>that could be stripping away the return code?
>
>..wayne..
>
>


--
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 06:00 AM.


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