Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <3.0.5.32.19990306140112.01613b20@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 06 Mar 1999 14:01:12 -0500 To: Sebastien Barre From: Larry Hall Subject: Re: [HELP] stat(), file permission, r/w access : i'm LOST :( Cc: cygwin AT sourceware DOT cygnus DOT com In-Reply-To: <4.1.19990305214515.016caba0@mail.club-internet.fr> References: <3 DOT 0 DOT 3 DOT 32 DOT 19990301174320 DOT 0098ad30 AT pop DOT ma DOT ultranet DOT com> <4 DOT 1 DOT 19990301232226 DOT 01717350 AT mail DOT club-internet DOT fr> <3 DOT 0 DOT 3 DOT 32 DOT 19990301163809 DOT 00994e00 AT pop DOT ma DOT ultranet DOT com> <4 DOT 1 DOT 19990301211226 DOT 016b1250 AT mail DOT club-internet DOT fr> <4 DOT 1 DOT 19990301145716 DOT 017379b0 AT mail DOT club-internet DOT fr> <36DA3AD8 DOT 2047C010 AT uni-duesseldorf DOT de> <4 DOT 1 DOT 19990301024703 DOT 01bbe6d0 AT mail DOT club-internet DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:47 PM 3/5/99 +0100, Sebastien Barre wrote: >At 17:43 01/03/99 -0500, Larry Hall (RFK Partners, Inc) wrote: >>At 11:27 PM 3/1/99 +0100, Sebastien Barre wrote: >>>> This has been discussed many times on this list and is an NTism. >>> >>>Is there a workaround ? I mean, if this is a know bug, is there a way to >>>fix it in the cygwin sources ? > >>Workarounds? You might try removing yourself from Administrators group. >>This may do the trick. Alternatively, you can change your umask so that >>write permision is given to everyone. That should solve it too. > >Well, write permission was *already* given to anyone : > >administrateur [21] ~$ umask >000 >administrateur [22] ~$ umask -S >u=rwx,g=rwx,o=rwx > >and this had no influence : > >administrateur [23] ~$ touch foo >administrateur [24] ~$ ll foo >-rw-r--r-- 1 544 Aucun 0 Mar 5 21:46 foo >administrateur [26] ~$ perl -e 'print "yes" if -w "foo";' >administrateur [27] ~$ > > I think I mentioned this to you before but I believe I initially left out that you need to set "ntea" in your CYGWIN environment variable for the permissions to explicitly show up via ls and friends. Be sure to check the FAQ/archives about the issues with using "ntea" and FAT partitions however... Larry Hall lhall AT rfk DOT com RFK Partners, Inc. (781) 239-1053 8 Grove Street (781) 239-1655 - FAX Wellesley, MA 02482-7797 http://www.rfk.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com