diff options
-rw-r--r-- | doc/md/Installation.md | 8 |
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/ | |||
50 | Regardless of the installation method, appropriate [file permissions](dev/Development.md#directory-structure) must be set: | 50 | Regardless 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 | ||
54 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org | 53 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org |
55 | sudo chmod -R u=rwX /var/www/shaarli.mydomain.org | 54 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org |
56 | # allow read-only access to these files/directories | ||
57 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/} | ||
58 | # allow read/write access to these directories | ||
59 | sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} | 55 | sudo 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 | ||
71 | Once Shaarli is downloaded and files have been placed at the correct location, open this location your web browser. | 65 | Once Shaarli is downloaded and files have been placed at the correct location, open this location your web browser. |