This commit is contained in:
Alexandre
2023-07-22 10:07:38 +02:00
parent 015319d14f
commit ad8aaefc0c
2 changed files with 2 additions and 2 deletions

View File

@@ -124,6 +124,6 @@
"slug": "nextcloud_ocr", "slug": "nextcloud_ocr",
"uart": true, "uart": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
"version": "27.0.1-4", "version": "27.0.1-5",
"webui": "https://[HOST]:[PORT:443]" "webui": "https://[HOST]:[PORT:443]"
} }

View File

@@ -38,7 +38,7 @@ find "${ocpath}"/ -type d -exec chmod 0750 {} \;
printf "chown Directories. This could take some time, please wait...\n" printf "chown Directories. This could take some time, please wait...\n"
chown -R ${rootuser}:${htgroup} "${ocpath}"/ chown -R ${rootuser}:${htgroup} "${ocpath}"/
chmod +x "${ocpath}"/occ chmod +x "${ocpath}"/occ
for folder in "${ocpath}"/apps/ "${ocpath}"/assets/ "${ocpath}"/config/ "${ocpath}"/data/ "${ocpath}"/themes/ "${datadirectory}" /ssl/nextcloud/keys; do for folder in "${ocpath}"/apps/ "${ocpath}"/assets/ "${ocpath}"/config/ "${ocpath}"/data/ "${ocpath}"/themes/ /ssl/nextcloud/keys; do
chown -R ${htuser}:${htgroup} "$folder" || true chown -R ${htuser}:${htgroup} "$folder" || true
done done