← 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

 

** Changed in: drizzle
       Status: New => Fix Released

** Changed in: drizzle
    Milestone: None => 7.2.4

** Changed in: drizzle
     Assignee: (unassigned) => coldtobi (tobi-coldtobi)

-- 
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:
  Fix Released

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