Corinna Vinschen
2002-Jul-05 19:39 UTC
[PATCH]: Fix a bug in contrib/cygwin/ssh-host-config
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
Applied. Thanks. On Fri, 5 Jul 2002, Corinna Vinschen wrote:> 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 > - chown system /${SYSCONFDIR}/ssh* > + chown system ${SYSCONFDIR}/ssh* >-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
Apparently Analagous Threads
- [PATCH]: Cygwin: Changes to cygwin contrib area
- [PATCH]: Add features to Cygwin's ssh-host-config script
- [PATCH]: Change Cygwin contrib files to better support PrivSep
- [PATCH] Add service dependency to network
- [PATCH] contrip/cygwin: Reworking the installation support