Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1774

/tmp/mongodb-27017.sock permissions incorrect

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.1
    • Affects Version/s: 1.6.2
    • Component/s: None
    • None
    • Environment:
      Ubuntu 10.04 64bit (without selinux)
      nginx->phpcgi
      PHP 5.3.2
      Mongo Pecl 1.0.9
    • Linux

      /tmp/mongodb-27017.sock and /tmp/mongodb-28017.sock created with 755 permissions. rw permissions are required to connect to unix sockets so unless you are running as the same user as mongodb or root you cannot connect to the socket. Other applications I have looked at create unix sockets with 777 permissions.

      This may also be an issue with mongos.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            rickoman Rick Overman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: