Re: wondering about mysql_install_db in mysql-5.6.8-rc
Bjorn Munch <[email protected]> Tue, 13 Nov 2012 23:06:46 +0100
| Newsgroups | gmane.comp.db.mysql.devel |
|---|---|
| Organization | Oracle Corp. |
| Message-ID | <20121113220646.GA10735@igil> |
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 [email protected]
MySQL Release Engineering
Trondheim, Norway
--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals