Skip to content

Commit 0539d40

Browse files
author
Dave
authored
DOCSP-20690 directory permissions on install (#591)
* DOCSP-20698 directory permissions on install * Review feedback * Review feedback
1 parent 4b9304d commit 0539d40

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

source/includes/steps-create-admin-then-enable-authentication.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pre: |
77
Start a standalone :binary:`~bin.mongod` instance without access
88
control.
99
10-
Open a terminal and run the following command:
10+
Open a terminal and run the following command as the ``mongod`` user:
1111
1212
action:
1313
language: sh
@@ -16,9 +16,19 @@ action:
1616
post: |
1717
The :binary:`~bin.mongod` instance in this tutorial uses
1818
:option:`port 27017 <mongod --port>` and the ``/var/lib/mongodb``
19-
data directory. The tutorial assumes that the ``/var/lib/mongodb``
20-
directory exists and is the default :setting:`~storage.dbPath`. You
21-
may specify a different data directory or port as needed.
19+
data directory.
20+
21+
The tutorial assumes that the ``/var/lib/mongodb`` directory exists
22+
and is the default :setting:`~storage.dbPath`. You may specify a
23+
different data directory or port as needed.
24+
25+
.. tip::
26+
27+
When :binary:`mongod` starts, it creates some system files in the
28+
``/var/lib/mongodb`` directory. To ensure the system files have
29+
the correct ownership, follow this tutorial as the ``mongod``
30+
user. If you start :binary:`mongod` as the ``root`` user you will
31+
have to update file ownership later.
2232
2333
---
2434
stepnum: 2

0 commit comments

Comments
 (0)