List:Internals« Previous MessageNext Message »
From:Rich Prohaska Date:November 13 2012 10:37pm
Subject:Re: wondering about mysql_install_db in mysql-5.6.8-rc
View as plain text  
I am not a perl expert, but this page says that perl's chown expects
numeric user id's.  http://perldoc.perl.org/functions/chown.html

On Tue, Nov 13, 2012 at 5:06 PM, Bjorn Munch <bjorn.munch@stripped> wrote:
> 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
>
> --
> MySQL Internals Mailing List
> For list archives: http://lists.mysql.com/internals
> To unsubscribe:    http://lists.mysql.com/internals
>
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