mirror of
https://github.com/YunoHost-Apps/mediawiki_ynh.git
synced 2024-09-03 19:46:05 +02:00
Fix rights
This commit is contained in:
parent
551865f29b
commit
53f94e2e3e
3 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
||||||
"email": "felix@piedallu.me"
|
"email": "felix@piedallu.me"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 3.7.0"
|
"yunohost": ">= 4.1.0"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -179,7 +179,7 @@ ynh_replace_string --target_file="$final_path/LocalSettings.php" --match_string=
|
||||||
|
|
||||||
"php$phpversion" "$final_path/maintenance/update.php"
|
"php$phpversion" "$final_path/maintenance/update.php"
|
||||||
|
|
||||||
chown -R $app:$app "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -118,7 +118,7 @@ fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:$app "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -204,7 +204,7 @@ fi
|
||||||
"php$phpversion" "$final_path/maintenance/update.php"
|
"php$phpversion" "$final_path/maintenance/update.php"
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions on app files
|
||||||
chown -R $app:$app "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue