pwd and mysql_secure_installation

Bug #39040 reported by Julien Rottenberg
6
Affects Status Importance Assigned to Milestone
mysql-dfsg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

If an user launch (no need for sudo... he just needs to know the mysql root password)
 mysql_secure_installation

the script expects the user to be in his home directory, if he is not a lot of warning will appear :

touch: cannot touch `.my.cnf.25344': Permission denied

Those files will be deleted after : grep config /usr/bin/mysql_secure_installation

small fix :

cd && mysql_secure_installation

or
config="~/.my.cnf.$$"

Revision history for this message
Carthik Sharma (carthik) wrote :

Confirming this behavior on an up-to-date edgy.

Daniel T Chen (crimsun)
Changed in mysql-dfsg:
importance: Medium → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.