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