File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -1251,6 +1251,32 @@ Storage Parameters
1251
1251
.. seealso:: :setting:`~storage.syncPeriodSecs` and
1252
1252
:parameter:`journalCommitInterval`.
1253
1253
1254
+ .. parameter:: honorSystemUmask
1255
+
1256
+ .. versionadded:: 3.6
1257
+
1258
+ *Default*: ``false``
1259
+
1260
+ If :parameter:`honorSystemUmask` is set to ``true``, new files
1261
+ created by MongoDB have permissions in accordance with the
1262
+ user's ``umask`` settings.
1263
+
1264
+ If :parameter:`honorSystemUmask` is set to ``false``, new files
1265
+ created by MongoDB have permissions set to ``600``, which gives
1266
+ read and write permissions only to the owner. New directories have
1267
+ permissions set to ``700``.
1268
+
1269
+ You can only set this parameter during start-up and cannot change
1270
+ this setting using the :dbcommand:`setParameter` database command.
1271
+
1272
+ .. code-block:: sh
1273
+
1274
+ mongod --setParameter honorSystemUmask=true
1275
+
1276
+ .. note::
1277
+
1278
+ :parameter:`honorSystemUmask` is not available on Windows systems.
1279
+
1254
1280
WiredTiger Parameters
1255
1281
~~~~~~~~~~~~~~~~~~~~~
1256
1282
You can’t perform that action at this time.
0 commit comments