mysql_unix_socket_protocol : socket file (/tmp/mysql.sock) has wrong permissions
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://
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
- Drizzle Trunk: Pending requested
-
Diff: 20 lines (+4/-0)1 file modifiedplugin/mysql_unix_socket_protocol/protocol.cc (+4/-0)
Changed in drizzle: | |
status: | New → Fix Released |
milestone: | none → 7.2.4 |
assignee: | nobody → coldtobi (tobi-coldtobi) |