This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Postinstall for mintty fails when installing "just for me"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]