aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-08-15 20:11:04 +0200
committernodiscc <nodiscc@gmail.com>2020-09-12 14:31:45 +0200
commit78b5b44d8febc3eb262d13a9f29eafe9ccbe4247 (patch)
tree5bad0e03014559127b8907732964606bb279cf1e
parentff2b5f5bd857ee7edf496cae2b4ab526b0703345 (diff)
downloadShaarli-78b5b44d8febc3eb262d13a9f29eafe9ccbe4247.tar.gz
Shaarli-78b5b44d8febc3eb262d13a9f29eafe9ccbe4247.tar.zst
Shaarli-78b5b44d8febc3eb262d13a9f29eafe9ccbe4247.zip
doc: installation: simplify permissions setup
-rw-r--r--doc/md/Installation.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/doc/md/Installation.md b/doc/md/Installation.md
index 9f645a67..11b5da85 100644
--- a/doc/md/Installation.md
+++ b/doc/md/Installation.md
@@ -50,22 +50,16 @@ $ rsync -avP /home/me/Shaarli/ /var/www/shaarli.mydomain.org/
50Regardless of the installation method, appropriate [file permissions](dev/Development.md#directory-structure) must be set: 50Regardless of the installation method, appropriate [file permissions](dev/Development.md#directory-structure) must be set:
51 51
52```bash 52```bash
53# by default, deny access to everything to the web server
54sudo chown -R root:www-data /var/www/shaarli.mydomain.org 53sudo chown -R root:www-data /var/www/shaarli.mydomain.org
55sudo chmod -R u=rwX /var/www/shaarli.mydomain.org 54sudo chmod -R g+rX /var/www/shaarli.mydomain.org
56# allow read-only access to these files/directories
57sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
58# allow read/write access to these directories
59sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} 55sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
60``` 56```
61 57
62
63## Using Docker 58## Using Docker
64 59
65[See the documentation](Docker.md) 60[See the documentation](Docker.md)
66 61
67 62
68
69## Finish Installation 63## Finish Installation
70 64
71Once Shaarli is downloaded and files have been placed at the correct location, open this location your web browser. 65Once Shaarli is downloaded and files have been placed at the correct location, open this location your web browser.