On Mar 24 07:03, Darren Tucker wrote: > On 24 March 2018 at 06:42, Darren Tucker <dtucker@xxxxxxxxxxx> wrote: > > On 24 March 2018 at 03:03, Corinna Vinschen <vinschen@xxxxxxxxxx> wrote: > > [...] > >> session opened for local user corinna from [UNKNOWN] > >> received client version 3 > >> debug2: Permitting whitelisted realpath request > >> debug3: request 1: realpath > >> realpath "." > >> debug1: request 1: sent names count 1 > >> Refusing non-whitelisted statvfs request > >> debug3: request 2: sent status 3 > >> sent status Permission denied > >> debug1: read eof > >> session closed for local user corinna from [UNKNOWN] > >> > >> Can you please explain what's going on there? > > It's something to do with reading the commands from /dev/stdin > although I don't understand why. > > This passes: > > --- a/regress/sftp-uri.sh > +++ b/regress/sftp-uri.sh > @@ -33,12 +33,13 @@ ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config > "sftp://${USER}@somehost:${PORT}/${COPY} > cmp ${COPY} ${DIR}/copy || fail "corrupted copy" > > verbose "$tid: put to remote directory (trailing slash)" > -sftpclean > -${SFTP} -q -S "$SSH" -F $OBJ/ssh_config -b /dev/stdin \ Why does it not use `-b -'? This is documented as reading the batch from stdin without the /dev/stdin workaround. I'm not sure ATM why `-b /dev/stdin' doesn't work here(*), but is it important for the test? Thanks, Corinna (*) likely a bug in Cygwin -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev