www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/05/05:51:27

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: setup.exe MD5 snapshot from 0504 - executable files are installed as mode 666
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Sun, 5 May 2002 19:50:59 +1000
Message-ID: <FC169E059D1A0442A04C40F86D9BA7600C5FD3@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Pavel Tsekov" <ptsekov AT syntrex DOT com>, <cygwin-apps AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g459pQD16351

You might try following the instruction on
http://sources.redhat.com/cygwin-apps/setup.html for building on cygwin
- the configure recipe there will build a non-cygwin linked setup.exe.

Rob

> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
> Sent: Sunday, May 05, 2002 7:49 PM
> To: cygwin-apps AT cygwin DOT com
> Subject: setup.exe MD5 snapshot from 0504 - executable files 
> are installed as mode 666
> 
> 
> I've built the snapshot and tried to install less. Install 
> was fine but when I tried to execute less i got "Pemission denied".
> 
> $ ls -l /usr/bin/less.exe
> -rw-rw-rw-    1 paveltz  Nessuno     95744 Mar 21 06:06 
> /usr/bin/less.exe
> 
> So the file permissions aren't set right. Tried with several 
> other packages just to be sure and all of the executables 
> fail the same way.
> 
> I've noticed something interesting after I've built setup.exe 
> though. Since I'm building from withing cygwin environment it 
> seems like the configure decides that it needs to build 
> setup.exe which depends on the cygwin1.dll. So it seems this 
> influences on the file mode of the files created by 
> setup.exe! I've checked that the set_default_dacl () call is 
> still in the main() and in fact its there but has no effect 
> or is overridden by cygwin1.dll ;)
> 
> However I think that it would be usefull if the tar class has 
> methods to retrieve file permissions of the extracted files 
> so that the setup.exe could install the files with 
> approapriate permissions.
> 
> Just a heads up :)
> 
> 

- Raw text -


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