From abb191174d2159636b58a49ab516792f5a7dcb39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz>
Date: Fri, 10 May 2024 14:58:58 +0000
Subject: [PATCH] demo: switch off collaboration for now, strict permission
 (will be needed later for ownCloud as home)

---
 demo/deployments/hub.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/demo/deployments/hub.yaml b/demo/deployments/hub.yaml
index 92810d1..b45ca65 100644
--- a/demo/deployments/hub.yaml
+++ b/demo/deployments/hub.yaml
@@ -69,7 +69,7 @@ singleuser:
   defaultUrl: "/lab"
   image:
     name: valtri/single-user
-    tag: "jupyter-4e"
+    tag: "jupyter-4e-noncollab"
   profileList:
     - display_name: Small Environment - 2 vCPU / 4 GB RAM
       description: >
@@ -257,8 +257,8 @@ hub:
                     "env": [
                         {"name": "WEBDAV_URL", "value": "https://ocis.aaitest.owncloud.works/remote.php/webdav/"},
                         {"name": "WEBDAV_VENDOR", "value": "other"},
-                        # XXX: troubles with modification time in ownCloud
-                        {"name": "MOUNT_OPTS", "value": "--no-modtime"},
+                        # XXX: strict permissions needed for .local/share/jupyter/runtime/jupyter_cookie_secret
+                        {"name": "MOUNT_OPTS", "value": "--file-perms=0600 --dir-perms=0770"},
                         {"name": "MOUNT_PATH", "value": "/owncloud"},
                     ],
                     "resources": self.sidecar_resources,
-- 
GitLab