aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-08-15 20:12:39 +0200
committernodiscc <nodiscc@gmail.com>2020-09-12 14:31:45 +0200
commit1a19c921a9a94f555c43fd932f9f57ddd5747889 (patch)
tree3b72e29a386d1e47e1f484f0e29507e6cf7fa584
parent78b5b44d8febc3eb262d13a9f29eafe9ccbe4247 (diff)
downloadShaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.tar.gz
Shaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.tar.zst
Shaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.zip
doc: updagrde/migration: simplify permissions setup
-rw-r--r--doc/md/Upgrade-and-migration.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/md/Upgrade-and-migration.md b/doc/md/Upgrade-and-migration.md
index 8b0db1f8..bfef3e8c 100644
--- a/doc/md/Upgrade-and-migration.md
+++ b/doc/md/Upgrade-and-migration.md
@@ -29,8 +29,7 @@ sudo rsync -avP --delete Shaarli/ /var/www/shaarli.mydomain.org/
29 29
30# restore file permissions as described on the installation page 30# restore file permissions as described on the installation page
31sudo chown -R root:www-data /var/www/shaarli.mydomain.org 31sudo chown -R root:www-data /var/www/shaarli.mydomain.org
32sudo chmod -R u=rwX /var/www/shaarli.mydomain.org 32sudo chmod -R g+rX /var/www/shaarli.mydomain.org
33sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
34sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} 33sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
35 34
36# restore backups of the data directory 35# restore backups of the data directory
@@ -70,8 +69,7 @@ sudo make build_frontend
70 69
71# restore file permissions as described on the installation page 70# restore file permissions as described on the installation page
72sudo chown -R root:www-data /var/www/shaarli.mydomain.org 71sudo chown -R root:www-data /var/www/shaarli.mydomain.org
73sudo chmod -R u=rwX /var/www/shaarli.mydomain.org 72sudo chmod -R g+rX /var/www/shaarli.mydomain.org
74sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
75sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} 73sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
76``` 74```
77 75