Skip to content

Commit

Permalink
clients need to be able to read + write to socket file
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaAltieri committed Oct 2, 2024
1 parent a24e2bb commit efe0551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/charms/mongodb/v1/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Increment this PATCH version before using `charmcraft publish-lib` or reset
# to 0 if you are raising the major API version
LIBPATCH = 11
LIBPATCH = 12

# path to store mongodb ketFile
KEY_FILE = "keyFile"
Expand Down Expand Up @@ -118,7 +118,7 @@ def get_mongos_args(
binding_ips = (
"--bind_ip_all"
if external_connectivity
else f"--bind_ip {MONGODB_COMMON_DIR}/var/mongodb-27018.sock --filePermissions 755"
else f"--bind_ip {MONGODB_COMMON_DIR}/var/mongodb-27018.sock --filePermissions 0766"
)

# mongos running on the config server communicates through localhost
Expand Down

0 comments on commit efe0551

Please sign in to comment.