diff options
author | nodiscc <nodiscc@gmail.com> | 2020-08-15 20:12:39 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2020-09-12 14:31:45 +0200 |
commit | 1a19c921a9a94f555c43fd932f9f57ddd5747889 (patch) | |
tree | 3b72e29a386d1e47e1f484f0e29507e6cf7fa584 | |
parent | 78b5b44d8febc3eb262d13a9f29eafe9ccbe4247 (diff) | |
download | Shaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.tar.gz Shaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.tar.zst Shaarli-1a19c921a9a94f555c43fd932f9f57ddd5747889.zip |
doc: updagrde/migration: simplify permissions setup
-rw-r--r-- | doc/md/Upgrade-and-migration.md | 6 |
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 |
31 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org | 31 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org |
32 | sudo chmod -R u=rwX /var/www/shaarli.mydomain.org | 32 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org |
33 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/} | ||
34 | sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} | 33 | sudo 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 |
72 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org | 71 | sudo chown -R root:www-data /var/www/shaarli.mydomain.org |
73 | sudo chmod -R u=rwX /var/www/shaarli.mydomain.org | 72 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org |
74 | sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/} | ||
75 | sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} | 73 | sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/} |
76 | ``` | 74 | ``` |
77 | 75 | ||