delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/18/07:43:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 18 Aug 2010 13:43:44 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Postinstall for mintty fails when installing "just for me"
Message-ID: <20100818114343.GV11340@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0105D5C1E0353146B1B222348B0411A20945256668 AT NIHMLBX02 DOT nih DOT gov> <AANLkTinZ+a6w71LKGUvoytvJBNONeC6kYMweTjCUXN-R AT mail DOT gmail DOT com> <20100817084858 DOT GA16404 AT calimero DOT vinschen DOT de> <0105D5C1E0353146B1B222348B0411A2094525666F AT NIHMLBX02 DOT nih DOT gov> <20100818084323 DOT GN11340 AT calimero DOT vinschen DOT de> <AANLkTimQ1t1KVxEFVpyDBS3_uoxYwhoAqp4Ln6bTrJmP AT mail DOT gmail DOT com> <20100818113541 DOT GT11340 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20100818113541.GT11340@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019