Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <419897EC.5010007@x-ray.at>
Date: Mon, 15 Nov 2004 12:50:04 +0100
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a4) Gecko/20040927
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: postinstall scripts don't run when installing onto samba share.
References: <1100476036.1290.16.camel@schizo> <20041115043622.GD1917@trixie.casa.cgf.cx> <1100494560.1298.220.camel@schizo> <20041115045800.GH1917@trixie.casa.cgf.cx>
In-Reply-To: <20041115045800.GH1917@trixie.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Christopher Faylor schrieb:
> On Mon, Nov 15, 2004 at 03:56:01PM +1100, 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?
> 
> AFAIK, you can't.  Sorry.

added as
http://sourceware.org/bugzilla/show_bug.cgi?id=547

-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

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

