Corinna Vinschen
2002-Jul-10 12:07 UTC
[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config
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
Tim Rice
2002-Jul-10 13:49 UTC
[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config
On Wed, 10 Jul 2002, Corinna Vinschen wrote:> 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.Is this patch needed? The current Makefile.in does (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))> > 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 > >-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net
Reasonably Related Threads
- [PATCH]: Cygwin README still mentiones regex libs
- [PATCH]: Fix a bug in contrib/cygwin/ssh-host-config
- [PATCH]: Some fixes in contrib/cygwin/ssh-host-config
- [PATCH]: contrib/cygwin/ssh-host-config
- [PATCH]: Change Cygwin contrib files to better support PrivSep