List:Internals« Previous MessageNext Message »
From:Bjorn Munch Date:November 13 2012 10:06pm
Subject:Re: wondering about mysql_install_db in mysql-5.6.8-rc
View as plain text  
On 13/11 15.43, Rich Prohaska wrote:
> the mysql_install_db perl script does not chown the data directory
> correctly in 5.6.8-rc.

Unfortunately it doesn't (when using the --user option), as I have
also discovered, and I have filed a bug report.

> this line in the script is wrong:
> 
>   chown($opt->{user}, $dir) if -w "/" and !$opt->{user};
> 
> since chown expects a number not a name for the user id, and i am not
> sure that conditional is correct.

I'm not sure what you mean by number, but the condition is indeed not
correct and we shall have this fixed.

We're sorry about this!

-- 
Bjorn Munch   Bjorn.Munch@stripped
MySQL Release Engineering
Trondheim, Norway
Thread
wondering about mysql_install_db in mysql-5.6.8-rcRich Prohaska9 Nov
Re: wondering about mysql_install_db in mysql-5.6.8-rcJoerg Bruehe13 Nov
  • Re: wondering about mysql_install_db in mysql-5.6.8-rcRich Prohaska13 Nov
    • Re: wondering about mysql_install_db in mysql-5.6.8-rcBjorn Munch13 Nov
      • Re: wondering about mysql_install_db in mysql-5.6.8-rcRich Prohaska13 Nov