Set permissions after nextcloud install
This commit is contained in:
parent
b48e31c246
commit
390c4c9507
|
@ -507,6 +507,8 @@ function install_nextcloud_main {
|
||||||
./occ config:system:set defaultapp --value=passman
|
./occ config:system:set defaultapp --value=passman
|
||||||
./occ config:system:set appstoreenabled --value=true
|
./occ config:system:set appstoreenabled --value=true
|
||||||
./occ config:system:set trusted_domains 2 --value=$NEXTCLOUD_DOMAIN_NAME
|
./occ config:system:set trusted_domains 2 --value=$NEXTCLOUD_DOMAIN_NAME
|
||||||
|
chmod g+w /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs/config/config.php
|
||||||
|
chown -R www-data:www-data /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs
|
||||||
|
|
||||||
set_completion_param "nextcloud domain" "$NEXTCLOUD_DOMAIN_NAME"
|
set_completion_param "nextcloud domain" "$NEXTCLOUD_DOMAIN_NAME"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue