From 34b09ffb8b1cf30d7422b8d329c786086c7b0777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Mon, 24 Jun 2024 17:57:32 +0200
Subject: [PATCH] Allow unprivileged mounts

---
 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 63a5f45..7e554d8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,5 +9,8 @@ RUN apt-get update \
       rclone \
  && rm -rf /var/lib/apt/lists/*
 
+# to support unprivileged mounts
+RUN sed -ie 's/#\s*\(user_allow_other\)/\1/' /etc/fuse.conf
+
 RUN rclone config create owncloud-test webdav url https://ocis.aaitest.owncloud.works/remote.php/webdav/ vendor owncloud bearer_token_command 'oidc-token eosc-test' \
  && rclone config create owncloud-stage webdav url https://ocis.aaistage.owncloud.works/remote.php/webdav/ vendor owncloud bearer_token_command 'oidc-token eosc-stage'
-- 
GitLab