Skip to content

Commit da7884a

Browse files
docs(standalone): Add a paragraph for permission
1 parent de81dab commit da7884a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/INSTALLATION_GUIDE.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,25 @@ Use `Composer` by simply adding `crowdsec/bouncer` as a dependency:
3030

3131
This library can also be used on its own so that every browser access to a php script will be bounced.
3232

33-
In order to use the standalone mode, you will have to :
33+
In order to use the standalone mode, you will have to :
34+
35+
- give the correct permission for the folder that contains the lib
3436

3537
- copy the `scripts/auto-prepend/settings.example.php` to a `scripts/auto-prepend/settings.php` file
3638

3739
- set an `auto_prepend_file` directive in your PHP setup.
3840

41+
42+
### Files permission
43+
44+
The owner of the `/path/to/the/crowdsec-lib` should be your webserver owner (e.g. `www-data`).
45+
46+
You can achieve it by running command like:
47+
48+
```
49+
sudo chown www-data /path/to/the/crowdsec-lib
50+
```
51+
3952
### Settings file
4053

4154
Please copy the `scripts/auto-prepend/settings.example.php` to a `scripts/auto-prepend/settings.php`

0 commit comments

Comments
 (0)