delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/14/23:36:20

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: Sun, 14 Nov 2004 23:36:22 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: postinstall scripts don't run when installing onto samba share.
Message-ID: <20041115043622.GD1917@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1100476036 DOT 1290 DOT 16 DOT camel AT schizo>
Mime-Version: 1.0
In-Reply-To: <1100476036.1290.16.camel@schizo>
User-Agent: Mutt/1.4.1i

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

etc.

cgf

--
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