From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry Hall To: Sebastien Barre Cc: 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.5.32.19990306140112.01613b20@pop.ma.ultranet.com> References: <3.0.3.32.19990301174320.0098ad30@pop.ma.ultranet.com> <4.1.19990301232226.01717350@mail.club-internet.fr> <3.0.3.32.19990301163809.00994e00@pop.ma.ultranet.com> <4.1.19990301211226.016b1250@mail.club-internet.fr> <4.1.19990301145716.017379b0@mail.club-internet.fr> <36DA3AD8.2047C010@uni-duesseldorf.de> <4.1.19990301024703.01bbe6d0@mail.club-internet.fr> <4.1.19990305214515.016caba0@mail.club-internet.fr> X-SW-Source: 1999-03n/msg00157.html Message-ID: <19990331194500.oiRWmZkaPbh9KibVG1HBdUh7vPqLlEwQ_ON9idQjaXw@z> 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@rfk.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@sourceware.cygnus.com