← Back to team overview

linux-traipu team mailing list archive

[Bug 925904] Re: mysql_unix_socket_protocol : socket file (/tmp/mysql.sock) has wrong permissions

 

** Patch added: "Patch for debian package 2011.03.13-4"
   https://bugs.launchpad.net/bugs/925904/+attachment/2709443/+files/bug-631107.patch

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/925904

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

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/925904/+subscriptions


References