[PATCH]: Fix a bug in contrib/cygwin/ssh-host-config
Corinna Vinschen
vinschen at redhat.com
Sat Jul 6 05:39:28 EST 2002
Hi,
the following patch fixes a wrong path in a chown command. The
additional leading slash collides with accessing SMB shares using
double slashes as in "//server/share" on Windows systems.
Corinna
Index: contrib/cygwin/ssh-host-config
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-host-config,v
retrieving revision 1.6
diff -u -p -r1.6 ssh-host-config
--- contrib/cygwin/ssh-host-config 3 Jul 2002 23:33:20 -0000 1.6
+++ contrib/cygwin/ssh-host-config 5 Jul 2002 19:39:06 -0000
@@ -568,7 +568,7 @@ then
[ -z "${_cygwin}" ] && _cygwin="binmode ntsec tty"
if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd -a -D -e "CYGWIN=${_cygwin}"
then
- chown system /${SYSCONFDIR}/ssh*
+ chown system ${SYSCONFDIR}/ssh*
echo
echo "The service has been installed under LocalSystem account."
fi
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list