From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21640 invoked by alias); 18 Aug 2010 11:43:51 -0000 Received: (qmail 21632 invoked by uid 22791); 18 Aug 2010 11:43:50 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Wed, 18 Aug 2010 11:43:46 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 1E8176D4364; Wed, 18 Aug 2010 13:43:44 +0200 (CEST) Date: Wed, 18 Aug 2010 11:43:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Postinstall for mintty fails when installing "just for me" Message-ID: <20100818114343.GV11340@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <0105D5C1E0353146B1B222348B0411A20945256668@NIHMLBX02.nih.gov> <20100817084858.GA16404@calimero.vinschen.de> <0105D5C1E0353146B1B222348B0411A2094525666F@NIHMLBX02.nih.gov> <20100818084323.GN11340@calimero.vinschen.de> <20100818113541.GT11340@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100818113541.GT11340@calimero.vinschen.de> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-08/txt/msg00486.txt.bz2 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