From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Larry Hall (RFK Partners, Inc)" To: Sebastien Barre , cygwin@sourceware.cygnus.com Subject: Re: [HELP] stat(), file permission, r/w access : i'm LOST :( Date: Wed, 31 Mar 1999 19:45:00 -0000 Message-ID: <3.0.3.32.19990301163809.00994e00@pop.ma.ultranet.com> References: <4.1.19990301145716.017379b0@mail.club-internet.fr> <36DA3AD8.2047C010@uni-duesseldorf.de> <4.1.19990301024703.01bbe6d0@mail.club-internet.fr> <4.1.19990301211226.016b1250@mail.club-internet.fr> X-SW-Source: 1999-03n/msg00008.html Message-ID: <19990331194500.MlgQ6C_xmxVQgmJ1AU_4PMvXwV_OHfJQe-i6nVCNe5Q@z> At 10:14 PM 3/1/99 +0100, Sebastien Barre wrote: >administrateur [27] /etc$ ll >total 7 >-rw-r--r-- 1 544 Aucun 27 Feb 26 02:45 group >-rw-r--r-- 1 544 Aucun 65 Mar 1 21:08 passwd >-rw-r--r-- 1 544 Aucun 9828 Dec 1 14:00 termcap > >That command (-w) will display 'yes' if the file (here, /etc/group) is >writable. Apparently, it fails. And fails everywhere in my filesystem. The >'-w' command is using C, let's move on : This is a known bug. testing for file permissions will not return "yes" unless that permission is given to everyone. This may be related to the fact that you are the "Administrator" (see below). >BUT (and it drives me crazy). I CREATED that file, and I'm NOT user 544 ! >(more about this strange fellow below). 544 is the "Administrator" group, which is used as the UID of everyone in that group. This has been discussed many times on this list and is an NTism. Larry Hall lhall@rfk.com RFK Partners, Inc. (781) 239-1053 8 Grove Street (781) 239-1655 Wellesley, MA, 02482-7797 http://www.rfk.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com