From e0b53b2472c0548af5d2bf7e6d866cdfa3bf5f3a Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Tue, 3 Sep 2024 15:23:52 +0200 Subject: [PATCH] Webdav (#70) * Update manifest.toml try add webdav permissions * Update restore not sure to put these chmod permissions on all files there * Update manifest.toml try debug sync webdav --- manifest.toml | 5 +++++ scripts/restore | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 5404b50..73ed574 100644 --- a/manifest.toml +++ b/manifest.toml @@ -53,6 +53,11 @@ ram.runtime = "50M" api.show_tile = false api.protected = true api.auth_header = true + webdav.url = "/dav/documents/*" + webdav.allowed = ["visitors", "all_users"] + webdav.show_tile = false + webdav.protected = true + webdav.auth_header = false [resources.apt] packages = "sqlite3, php8.2-sqlite3, php8.2-gd, php8.2-intl, php8.2-cli, php8.2-gnupg, php8.2-mbstring, php8.2-zip" diff --git a/scripts/restore b/scripts/restore index 4547709..0dbf15d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -27,7 +27,7 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1 ynh_restore_file --origin_path="$data_dir" --not_mandatory -chmod -R o-rwx "$data_dir" +#chmod -R o-rwx "$data_dir" chown -R $app:www-data "$data_dir" #=================================================