List:Internals« Previous MessageNext Message »
From:David Favor Date:September 8 2007 6:15pm
Subject:Re: Mysql-5.1.23-alpha all tests fail getting farther
View as plain text  
Chad MILLER wrote:
> 
> On 7 Sep 2007, at 15:41, David Favor wrote:
> 
>> I believe what's required is more than just running the
>> test suite as non-root.
>>
>> Doing the following is allowing the test suite to proceed:
>>
>>    chown -R mysql:mysql /build/work/mysql-5.1.23-alpha
>>
>> In other words the entire build process beginning with configure
>> on must be run as non-root, which is different than just running
>> the test suite as non-root.
> 
> In particular, whatever user you're running the tests as has to have at 
> least read access to all the files.  Unpacking the tarball as that user 
> just happens to force that user to own everything, and thereby be able 
> to read everything.  Configure and building "rootness" shouldn't matter.
> 
> I'm sorry for the confusion.

No worries.

And doing the above chown is the only way I can find to cleanly resolve all
the permission errors which arise when accessing data files and .libs/*.

You can see this easily by doing the build + test as root.

When I get all the details worked out I'll post a note about my exact commands.

Many thanks!

- David


-- 
Love feeling your best ever, all day, every day?
Email join@stripped for the easy way.
Thread
Mysql-5.1.23-alpha all tests failDavid Favor7 Sep
  • Re: Mysql-5.1.23-alpha all tests failChad MILLER7 Sep
    • Re: Mysql-5.1.23-alpha all tests failDavid Favor7 Sep
      • Re: Mysql-5.1.23-alpha all tests failChad MILLER7 Sep
        • Re: Mysql-5.1.23-alpha all tests failChad MILLER7 Sep
        • Re: Mysql-5.1.23-alpha all tests failDavid Favor7 Sep
          • Re: Mysql-5.1.23-alpha all tests fail getting fartherDavid Favor7 Sep
            • Re: Mysql-5.1.23-alpha all tests fail getting fartherChad MILLER7 Sep
              • Re: Mysql-5.1.23-alpha all tests fail getting fartherDavid Favor8 Sep
                • Re: Mysql-5.1.23-alpha all tests fail getting fartherJoerg Bruehe10 Sep