From: Rich Prohaska Date: November 13 2012 10:37pm Subject: Re: wondering about mysql_install_db in mysql-5.6.8-rc List-Archive: http://lists.mysql.com/internals/38632 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 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 >