From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roman Belenov Newsgroups: gmane.emacs.devel Subject: Re: [PATCHES] patches for compiling GNU emacs 21.2 under Cygwin Date: Wed, 04 Dec 2002 10:39:25 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: References: <7263-Wed27Nov2002204304+0200-eliz@is.elta.co.il> <2110-Tue03Dec2002212151+0200-eliz@is.elta.co.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038987666 2214 80.91.224.249 (4 Dec 2002 07:41:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2002 07:41:06 +0000 (UTC) Cc: jbuehler@hekimian.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18JU9X-0000ZU-00 for ; Wed, 04 Dec 2002 08:41:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18JUJQ-0003SJ-00 for ; Wed, 04 Dec 2002 08:51:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JU8c-0000lH-00; Wed, 04 Dec 2002 02:40:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18JU89-0008E7-00 for emacs-devel@gnu.org; Wed, 04 Dec 2002 02:39:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18JU86-00087N-00 for emacs-devel@gnu.org; Wed, 04 Dec 2002 02:39:36 -0500 Original-Received: from fmr01.intel.com ([192.55.52.18] helo=hermes.fm.intel.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JU86-00085R-00 for emacs-devel@gnu.org; Wed, 04 Dec 2002 02:39:34 -0500 Original-Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39]) by hermes.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id gB47bTf15401 for ; Wed, 4 Dec 2002 07:37:30 GMT Original-Received: from fmsmsxv040-1.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124]) by talaria.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id gB47fvO11030 for ; Wed, 4 Dec 2002 07:41:57 GMT Original-Received: from fmsmsx26.fm.intel.com ([132.233.42.26]) by fmsmsxv040-1.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002120323395510868 ; Tue, 03 Dec 2002 23:39:55 -0800 Original-Received: from NNWRBELENOV31 (nnwrbelenov31.inn.intel.com [10.125.17.180]) by fmsmsx26.fm.intel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id W8500SXN; Tue, 3 Dec 2002 23:39:30 -0800 Original-To: Eli Zaretskii In-Reply-To: <2110-Tue03Dec2002212151+0200-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Tue, 03 Dec 2002 21:21:52 +0300") Original-Lines: 22 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.1.2600) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9850 "Eli Zaretskii" writes: > Really? I already asked someone in this thread about this: does > Cygwin GCC really produce foo.exe programs that aren't > world-executable? That person checked and came back saying that chmod > wasn't necessary. I learned more about the situation. Actually, cygwin has a concept of umask, so that permissions of created files depend on user's settings. On my system umask was 0, so that produced executables were world-executable, but this can be easily changed. > Let me understand this: are you saying that if a user Bob builds > hello.exe with the Cygwin port of GCC and installs it in a public > directory, then a user Alice on the same machine cannot run this > hello.exe? I'd be surprised if this was the case, as it would confuse > every Windows user out there. I user Bob had "umask 700" in his ~/.profile, it would be the case. -- With regards, Roman.