Skip to content

Commit 1d86fb0

Browse files
Fix binary permission issues on run in production guide (#3023)
1 parent d61a25b commit 1d86fb0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

guides/running_production.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Next, you need to make the binary accessible from anywhere in your system. Move
4646
mv ./meilisearch /usr/local/bin/
4747
```
4848

49-
Meilisearch is now running, but it is not publicly accessible.
49+
Meilisearch is now installed in your system, but it is not publicly accessible.
5050

5151
## Step 2: Create system user
5252

@@ -56,6 +56,12 @@ Running applications as root exposes you to unnecessary security risks. To preve
5656
useradd -d /var/lib/meilisearch -s /bin/false -m -r meilisearch
5757
```
5858

59+
Then give the new user ownership of the Meilisearch binary:
60+
61+
```sh
62+
chown meilisearch:meilisearch /usr/local/bin/meilisearch
63+
```
64+
5965
## Step 3: Create a configuration file
6066

6167
After installing Meilisearch and taking the first step towards keeping your data safe, you need to set up a basic configuration file.

0 commit comments

Comments
 (0)