delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/15/16:39:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 15 Nov 2004 16:38:53 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Donovan Baarda <abo AT minkirri DOT apana DOT org DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: postinstall scripts don't run when installing onto samba share.
In-Reply-To: <1100494560.1298.220.camel@schizo>
Message-ID: <Pine.GSO.4.61.0411151635460.12546@slinky.cs.nyu.edu>
References: <1100476036 DOT 1290 DOT 16 DOT camel AT schizo> <20041115043622 DOT GD1917 AT trixie DOT casa DOT cgf DOT cx> <1100494560 DOT 1298 DOT 220 DOT camel AT schizo>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 15 Nov 2004, Donovan Baarda wrote:

> On Mon, 2004-11-15 at 15:36, Christopher Faylor wrote:
> > On Mon, Nov 15, 2004 at 10:47:16AM +1100, Donovan Baarda wrote:
> > >I don't understand why the execute bits would not be set.
> >
> > Remote shares are assumed to be non-executable by default for speed
> > considerations.
> >
> > You can fix this by mounting the share with the -x option:
> >
> > mount -x -f //foo/bar /bar
> >
> > Mounting the share in that manner will cause cygwin (and setup
> > postinstall scripts) to consider everything in /bar to be consdired
> > executable.  It might be better to mount any specific directories that
> > you know will contain executable content with -x:
> >
> > mount -x -f //foo/c/cygwin/bin /bin
> > mount -x -f //foo/c/cygwin/sbin /sbin
> > mount -x -f //foo/c/cygwin/usr/sbin /usr/sbin
>
> How do you tell this to setup.exe on a fresh install?

Try experimenting with "smbntsec" and "nosmbntsec" in your CYGWIN
environment variable.  You'll have to set it before starting setup.exe for
it to be inherited by the postinstall scripts.  See
<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html> for details.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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

- Raw text -


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