doc: updagrde/migration: simplify permissions setup
This commit is contained in:
parent
78b5b44d8f
commit
1a19c921a9
1 changed files with 2 additions and 4 deletions
|
@ -29,8 +29,7 @@ sudo rsync -avP --delete Shaarli/ /var/www/shaarli.mydomain.org/
|
|||
|
||||
# restore file permissions as described on the installation page
|
||||
sudo chown -R root:www-data /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R u=rwX /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
|
||||
sudo chmod -R g+rX /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
|
||||
|
||||
# restore backups of the data directory
|
||||
|
@ -70,8 +69,7 @@ sudo make build_frontend
|
|||
|
||||
# restore file permissions as described on the installation page
|
||||
sudo chown -R root:www-data /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R u=rwX /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R g+rX /var/www/shaarli.mydomain.org/{index.php,application/,plugins/,inc/}
|
||||
sudo chmod -R g+rX /var/www/shaarli.mydomain.org
|
||||
sudo chmod -R g+rwX /var/www/shaarli.mydomain.org/{cache/,data/,pagecache/,tmp/}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue