bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touch & README


From: Eric Blake
Subject: Re: touch & README
Date: Wed, 25 Jan 2006 06:27:00 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Please keep replies on the list, so that others may benefit from the
answers in the archives.]

According to Paul Rogers on 1/24/2006 9:48 AM:
>>Which version of coreutils are you using, on which platform?  This 
>>problem in the test suite was detected and corrected between 5.3.0 
>>and 5.90; the latest stable release of coreutils is 5.93.  The 
>>framework should have skipped the test altogether if you are root, 
>>can write to /, or own /.  How else are you allowed to change /?
> 
> 
> I am building 5.2.1 as part of a LFS-6.1.1 compile from scratch.  Guess it's 
> pretty far behind, eh?  But we are admonished to stick with the versions they 
> supply and document, to control incompatibilities.

Then it is just a test suite bug, and you can ignore the failure.  You may
also want to recommend to LFS that they upgrade their compile-from-scratch
directions to use the latest stable coreutils, as it has fixed a number of
bugs present in 5.2.1.

> 
> The test suite is in two parts, one run as root and one as user "dummy".  
> Everything passes except not-owner in the "dummy" tests.  I tried duplicating 
> the test by hand (../../src/su dummy ; touch / ; echo $?) and got a 0 return 
> code, no error messages.  PS1 claimed I was "dummy", and I haven't found 
> obvious evidence dummy had root priveleges but neither entirely ruled it out. 
>  I checked the make log I collected and found no error messages during touch 
> compilation.  The code doesn't seem to have as many complex macros to confuse 
> things as some packages.  I confess I don't know what to do at this point, no 
> obvious directions appear to me.

Run "id dummy" to find out what groups it is a member of; perhaps you
created dummy as a member of the group that owns /.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD13yk84KuGfSFAYARAgVHAJ9uMt18/sLFLB6158T3shu0efi2QACdGCep
59MRQKiiNRFswWBhawsphw8=
=bSm+
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]