[Bug 13147] inconsistent behaviour regaring vanished files information

samba-bugs at samba.org samba-bugs at samba.org
Sat Nov 25 11:26:54 UTC 2017


https://bugzilla.samba.org/show_bug.cgi?id=13147

--- Comment #3 from roland <devzero at web.de> ---
apparently, ssh as a transport is the culprit, as it doesn`t happen with rsync
in daemon mode.

i found some osx related ticket on "stderr/stdout merge" (
https://github.com/ansible/ansible/issues/14960 ) 

after further searching, i found some infos on pty/tty allocation:
https://stackoverflow.com/questions/7114990/pseudo-terminal-will-not-be-allocated-because-stdin-is-not-a-terminal
 (see comment "Optional background information:")

 and...


# ssh root at localhost "echo stdout; echo stderr >&2" >/dev/null
stderr

# ssh root at localhost "echo stdout; echo stderr >&2" 2>/dev/null
stdout

# ssh -t root at localhost "echo stdout; echo stderr >&2" 2>/dev/null
stdout
stderr

gotcha !

now the question is how to work around the problem...

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list