From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: Kai Henningsen , cygwin@sourceware.cygnus.com, Glenn Spell Subject: Re: not updating unwritable cache ../config.cache Date: Tue, 05 Oct 1999 05:12:00 -0000 Message-id: <19991005121045.15393.rocketmail@web112.yahoomail.com> X-SW-Source: 1999-10/msg00062.html --- Kai Henningsen wrote: > On 5 Oct 99, at 5:29, Glenn Spell wrote: > > > On 5 Oct 1999 around 10:59AM (+0200) Kai Henningsen wrote: > > > > > On 5 Oct 99, at 10:15, I wrote: > > > > > > > I'm seeing this every time I ./configure something. Anybody know > > > > what is going on? > > > > > > > > Sure doesn't _look_ unwritable. Besides, the very same script > > > > just created it. > > > > It's unwritable by anyone other the owner of the file. > > > > > Well, it's "test -w" failing. Obviously because of this: > > > bash-2.02$ id > > > uid=1000(kai) gid=513(Kein) groups=513(Kein) > > ^^^^ > > > bash-2.02$ chmod a+w test > > This is a reported and known bug. Have you tried it with a snapshot? > > If you're using a recent snapshot, setting "ntsec" in your CYGWIN > > variable may cause chmod to work correctly. (I say "may" because I > > really don't know. I don't run NT.) Historically, chmod returns > > without error on Cygwin but does nothing. > > "ntsec" is definitely the wrong option here. If you want extended attributes you can turn this on with "ntea". CAUTION: doing this on a FAT partition will cause file in the root of all FAT drives accessed by cygwin to grow a large file that isn't easily delete-able to be created. Also, all diskettes will have the "EA DATA" system file as well. > > > bash-2.02$ ls -la test > > > -rw-r--r-- 1 544 Kein 0 Oct 5 09:57 test > > ^^^ > > You (UID 1000) don't own the file, UID 544 (administrator) owns > > it. (I guess you already knew that. :-) > > What I don't understand is how this happens. After all, I created the > file. And I _can_ write to the file. Something is very wrong here. > > > You need to login as administrator Kai is already in the administrators group which makes him an administrator. This also makes all files created owned by the adminstrator. The real problem is the test -w bug. I suggest trying a more recent snapshot. Caveat: save any files that you replace as you may need to backout. ===== Earnie Boyd < mailto:earnie_boyd@yahoo.com > Newbies, please visit < http://www.freeyellow.com/members5/gw32/index.html > (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Earnie Boyd To: Kai Henningsen , cygwin@sourceware.cygnus.com, Glenn Spell Subject: Re: not updating unwritable cache ../config.cache Date: Sun, 31 Oct 1999 19:54:00 -0000 Message-ID: <19991005121045.15393.rocketmail@web112.yahoomail.com> X-SW-Source: 1999-10n/msg00062.html Message-ID: <19991031195400.pQ-CiXpBlo6EEKB4A4J6Jki7LCdudJqc5WbvrP2djo8@z> --- Kai Henningsen wrote: > On 5 Oct 99, at 5:29, Glenn Spell wrote: > > > On 5 Oct 1999 around 10:59AM (+0200) Kai Henningsen wrote: > > > > > On 5 Oct 99, at 10:15, I wrote: > > > > > > > I'm seeing this every time I ./configure something. Anybody know > > > > what is going on? > > > > > > > > Sure doesn't _look_ unwritable. Besides, the very same script > > > > just created it. > > > > It's unwritable by anyone other the owner of the file. > > > > > Well, it's "test -w" failing. Obviously because of this: > > > bash-2.02$ id > > > uid=1000(kai) gid=513(Kein) groups=513(Kein) > > ^^^^ > > > bash-2.02$ chmod a+w test > > This is a reported and known bug. Have you tried it with a snapshot? > > If you're using a recent snapshot, setting "ntsec" in your CYGWIN > > variable may cause chmod to work correctly. (I say "may" because I > > really don't know. I don't run NT.) Historically, chmod returns > > without error on Cygwin but does nothing. > > "ntsec" is definitely the wrong option here. If you want extended attributes you can turn this on with "ntea". CAUTION: doing this on a FAT partition will cause file in the root of all FAT drives accessed by cygwin to grow a large file that isn't easily delete-able to be created. Also, all diskettes will have the "EA DATA" system file as well. > > > bash-2.02$ ls -la test > > > -rw-r--r-- 1 544 Kein 0 Oct 5 09:57 test > > ^^^ > > You (UID 1000) don't own the file, UID 544 (administrator) owns > > it. (I guess you already knew that. :-) > > What I don't understand is how this happens. After all, I created the > file. And I _can_ write to the file. Something is very wrong here. > > > You need to login as administrator Kai is already in the administrators group which makes him an administrator. This also makes all files created owned by the adminstrator. The real problem is the test -w bug. I suggest trying a more recent snapshot. Caveat: save any files that you replace as you may need to backout. ===== Earnie Boyd < mailto:earnie_boyd@yahoo.com > Newbies, please visit < http://www.freeyellow.com/members5/gw32/index.html > (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com