]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - doc/md/Installation.md
doc: installation: simplify permissions setup
[github/shaarli/Shaarli.git] / doc / md / Installation.md
index 1286a6b26b4f02576e79b5fe88f1a55182a32081..11b5da85f255afd8afc53ff7a64123841c79221b 100644 (file)
@@ -7,8 +7,8 @@ Once your server is [configured](Server-configuration.md), install Shaarli:
 To install Shaarli, simply place the files from the latest [release .zip archive](https://github.com/shaarli/Shaarli/releases) under your webserver's document root (directly at the document root, or in a subdirectory). Download the **shaarli-vX.X.X-full** archive to include dependencies.
 
 ```bash
-wget https://github.com/shaarli/Shaarli/releases/download/v0.10.4/shaarli-v0.10.4-full.zip
-unzip shaarli-v0.10.4-full.zip
+wget https://github.com/shaarli/Shaarli/releases/download/v0.11.1/shaarli-v0.11.1-full.zip
+unzip shaarli-v0.11.1-full.zip
 sudo rsync -avP Shaarli/ /var/www/shaarli.mydomain.org/
 ```
 
@@ -50,22 +50,16 @@ $ rsync -avP /home/me/Shaarli/ /var/www/shaarli.mydomain.org/
 Regardless of the installation method, appropriate [file permissions](dev/Development.md#directory-structure) must be set:
 
 ```bash
-# by default, deny access to everything to the web server
 sudo chown -R root:www-data /var/www/shaarli.mydomain.org
-sudo chmod -R u=rwX /var/www/shaarli.mydomain.org
-# allow read-only access to these files/directories
-sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
-# allow read/write access to these directories
+sudo chmod -R g+rX /var/www/shaarli.mydomain.org
 sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
 ```
 
-
 ## Using Docker
 
 [See the documentation](Docker.md)
 
 
-
 ## Finish Installation
 
 Once Shaarli is downloaded and files have been placed at the correct location, open this location your web browser.