[SERVER-1774] /tmp/mongodb-27017.sock permissions incorrect Created: 10/Sep/10  Updated: 12/Jul/16  Resolved: 13/Sep/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 1.6.2
Fix Version/s: 1.7.1

Type: Bug Priority: Major - P3
Reporter: Rick Overman Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.04 64bit (without selinux)
nginx->phpcgi
PHP 5.3.2
Mongo Pecl 1.0.9


Operating System: Linux
Participants:

 Description   

/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.



 Comments   
Comment by auto [ 13/Sep/10 ]

Author:

{'login': 'RedBeard0531', 'name': 'Mathias Stearn', 'email': 'mathias@10gen.com'}

Message: give unix sockets 777 permissions SERVER-1774
http://github.com/mongodb/mongo/commit/4fada3fc467c47bb3766ea694d1796d46929b7cb

Generated at Thu Feb 08 02:58:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.