[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config
Corinna Vinschen
vinschen at redhat.com
Wed Jul 10 22:07:58 EST 2002
Hi,
the following patch explicitely sets the permissions on /var/empty
to 755 when running the ssh-host-config script on Cygwin. I never
thought it would be necessary but apparently there are actually
users working with a umask of 0. Sigh.
Corinna
Index: contrib/cygwin/ssh-host-config
===================================================================
RCS file: /cvs/openssh_cvs/contrib/cygwin/ssh-host-config,v
retrieving revision 1.8
diff -u -p -r1.8 ssh-host-config
--- contrib/cygwin/ssh-host-config 7 Jul 2002 21:07:47 -0000 1.8
+++ contrib/cygwin/ssh-host-config 10 Jul 2002 12:10:10 -0000
@@ -163,6 +163,7 @@ else
# On NT change ownership of that dir to user "system"
if [ $_nt -gt 0 ]
then
+ chmod 755 /var/empty
chown system.system /var/empty
fi
fi
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list