[PATCH] Care for permissions of /var/empty in contrib/cygwin/ssh-host-config

Corinna Vinschen vinschen at redhat.com
Thu Jul 11 00:16:35 EST 2002


On Wed, Jul 10, 2002 at 06:49:24AM -0700, Tim Rice wrote:
> 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))

The Cygwin installation only installs the absolutely needed files.
It doesn't install any directories.

The host configuration is completely done by ssh-host-config.  So
either the script calls umask or chmod or mkdir -m, but one of them
is needed.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat.com



More information about the openssh-unix-dev mailing list