Fix permissions #12
5 changed files with 13 additions and 6 deletions
|
@ -17,7 +17,8 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Web interface for generating QR codes
|
||||
|
||||
**Shipped version:** 2.0.0~ynh1
|
||||
**Shipped version:** 2.0.0~ynh2
|
||||
|
||||
|
||||
**Demo:** https://qr.antopie.org
|
||||
|
||||
|
@ -27,6 +28,7 @@ Web interface for generating QR codes
|
|||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: <https://code.antopie.org/miraty/libreqr>
|
||||
* Upstream app code repository: <https://code.antopie.org/miraty/libreqr>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_qr>
|
||||
* Report a bug: <https://code.antopie.org/miraty/qr_ynh/issues>
|
||||
|
|
|
@ -17,7 +17,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Interface Web pour générer des codes QR
|
||||
|
||||
**Version incluse :** 2.0.0~ynh1
|
||||
**Version incluse :** 2.0.0~ynh2
|
||||
|
||||
|
||||
**Démo :** https://qr.antopie.org
|
||||
|
||||
|
@ -27,6 +28,7 @@ Interface Web pour générer des codes QR
|
|||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : <https://code.antopie.org/miraty/libreqr>
|
||||
* Dépôt de code officiel de l'app : <https://code.antopie.org/miraty/libreqr>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_qr>
|
||||
* Signaler un bug : <https://code.antopie.org/miraty/qr_ynh/issues>
|
||||
|
|
|
@ -7,9 +7,12 @@
|
|||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=3b225b6a98f91493bdf3ae593a59cbdd3616106f
|
||||
upgrade=1 from_commit=53600a0a5838d26d0d6989be4c461007a58b4bf0
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
change_url=1
|
||||
;;; Upgrade options
|
||||
; commit=3b225b6a98f91493bdf3ae593a59cbdd3616106f
|
||||
name=LibreQR 1.3.0
|
||||
name=1.3.0~ynh1
|
||||
; commit=53600a0a5838d26d0d6989be4c461007a58b4bf0
|
||||
name=2.0.0~ynh1
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Web interface for generating QR codes",
|
||||
"fr": "Interface Web pour générer des codes QR"
|
||||
},
|
||||
"version": "2.0.0~ynh1",
|
||||
"version": "2.0.0~ynh2",
|
||||
"url": "https://code.antopie.org/miraty/libreqr",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-or-later",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
libreqr_apply_filesystem_permissions() {
|
||||
find "$final_path" -type f -exec chmod 400 "{}" +
|
||||
find "$final_path" -type f -exec chown www-data:www-data "{}" +
|
||||
find "$final_path" -type d -exec chmod 110 "{}" +
|
||||
find "$final_path" -type d -exec chmod 510 "{}" +
|
||||
find "$final_path" -type d -exec chown $app:www-data "{}" +
|
||||
find "$final_path" -type f -name "*.php" -exec chmod 400 "{}" +
|
||||
find "$final_path" -type f -name "*.php" -exec chown $app:$app "{}" +
|
||||
|
@ -9,6 +9,6 @@ libreqr_apply_filesystem_permissions() {
|
|||
find "$final_path" -type f -name "*.css" -exec chown $app:www-data "{}" +
|
||||
find "$final_path" -type f -name "*.less" -exec chmod 440 "{}" +
|
||||
find "$final_path" -type f -name "*.less" -exec chown $app:www-data "{}" +
|
||||
chmod 350 "$final_path"/css
|
||||
chmod 750 "$final_path"/css
|
||||
chown $app:www-data "$final_path"/css
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue