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 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> <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> <20100818113541 DOT GT11340 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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