mysql_unix_socket_protocol : socket file (/tmp/mysql.sock) has wrong permissions

Bug #925904 reported by coldtobi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Undecided
coldtobi

Bug Description

Dear drizzle team,

The socket generated by the plugin has only user and group access rights and is not world accessible.
It has been confirmed on your IRC channel that this is not supposed to be.

At debian, this has been reported as bug 631107, which will be fixed in the next upload to the debian archive for the 2011.03.13 release.
Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631107 for details

I compared the code with the latest release 2012.01.30 and though there are other changes I did not see that this issue is addresses here, so I assume this is also valid for the latest code.

The fix is easy, just chmod(2) the socket file after it has been created:

Please note that this applies to 2011.03.13, but it applies with some fuzziness on the latest source. (thoug I tested the binary only on the 2011.03.13)

Best regards,
coldtobi

Related branches

Revision history for this message
coldtobi (tobi-coldtobi) wrote :
Vijay Samuel (vjsamuel)
Changed in drizzle:
status: New → Fix Released
milestone: none → 7.2.4
assignee: nobody → coldtobi (tobi-coldtobi)
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.