Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Date: Sun, 5 May 2002 11:49:17 +0200 From: Pavel Tsekov Reply-To: Pavel Tsekov Organization: Syntrex, Inc. X-Priority: 3 (Normal) Message-ID: <1324703172.20020505114917@syntrex.com> To: cygwin-apps AT cygwin DOT com Subject: setup.exe MD5 snapshot from 0504 - executable files are installed as mode 666 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 :)