delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
To: | cygwin AT cygwin DOT com |
Subject: | gcc, Write and Modify permissions (ntsec) |
From: | Roman Belenov <rbelenov AT yandex DOT ru> |
Date: | Fri, 29 Nov 2002 09:29:29 +0300 |
Message-ID: | <u65ugkhx2.fsf@yandex.ru> |
Lines: | 13 |
User-Agent: | Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 |
(i386-msvc-nt5.1.2600) | |
MIME-Version: | 1.0 |
I've noticed that executables generated by gcc (cygwin 1.3.17-1, gcc 3.2-3, binutils 20021117-1, Windows XP) have Read, Read&Execute and Write permissions for group and others, ls -l shows their attributes as -rwxrwxrwx . It seems rather strange - I guess that Write permission for other users is not necessary. Another oddity is that chmod always toggles Write and Modify permisisons together, while gcc (or ld) sets only Write permission without Modify. Is this an intended behaviour ? Are there any reasons for it ? -- With regards, Roman. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |