Postinstall for mintty fails when installing "just for me"

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Aug 18 11:43:00 GMT 2010


On Aug 18 13:35, Corinna Vinschen wrote:
> On Aug 18 12:24, Andy Koppe wrote:
> > On 18 August 2010 09:43, Corinna Vinschen wrote:
> > > Andy, to workaround this, you *could* create a user mount first which
> > > has no "noacl", then use the user mount to check permissions, and
> > > eventually umount again.  Like this:
> > >
> > >  PROGS=/tmp/.mintty-postinstall-$$
> > >  mount -f "`cygpath -APm`" $PROGS
> > >  if [ -w "$PROGS" ]; then
> > >    [...]
> > >  else
> > >    [...]
> > >  fi
> > >  umount $PROGS
> > 
> > Hmm, I'm a bit afraid that might find creative new ways of going wrong. ;)
> 
> The only way that could go wrong is, if the user already has 30 mount
> points, since that's the current maximum nuber of allowed mounts.

Btw., see /bin/ssh-host-config, line 93 :)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list