ITADN

Missing write permission for existing files.

#203ClosedReIaxo 创建于 2025-09-17
R
ReIaxocommented
Hi. I started with a new installation of Open Media Vault 7 on a Raspberry Pi 4. But I want to use the users and calendars from my previous installation. I copied the files in place and tried to configure everything right. It seems there are some permission issues and I don't know how to solve them. Here is the log: ``` radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Logging of backtrace is disabled in this loglevel radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Loaded default config radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Loaded config file '/config/config' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Starting Radicale (python=3.12.11 radicale=3.5.6 vobject=0.9.9 passlib=1.7.4 defusedxml=0.7.1 bcrypt=4.3.0 argon2-cffi=25.1.0 pika=1.3.2 ldap=n/a ldap3=2.9.1 pam=n/a) as user=radicale(2999) groups=radicale(2999),radicale(2999) on Linux-6.12.34+rpt-rpi-v8-aarch64-with radicale | [2025-09-17 20:46:30 +0000] [7] [WARNING] No user authentication is selected: '[auth] type=none' (INSECURE) radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth type is 'radicale.auth.none' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.strip_domain: False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.lc_username: False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.uc_username: False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.urldecode_username: False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.delay: 1.000000 radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] auth.cache_logins: False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] storage type is 'radicale.storage.multifilesystem' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage folder umask (from system): '0022' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage location: '/data/collections' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage location permissions: path='/data/collections' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage location subfolder: '/data/collections/collection-root' radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage location subfolder permissions: path='/data/collections/collection-root' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage cache subfolder usage for 'item': False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage cache subfolder usage for 'history': False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage cache subfolder usage for 'sync-token': False radicale | [2025-09-17 20:46:30 +0000] [7] [INFO] Storage cache use mtime and size for 'item': False radicale | [2025-09-17 20:46:30 +0000] [7] [WARNING] Storage item mtime resolution test not possible, cannot write file: '/data/collections/collection-root/.Radicale.mtime_test' ([Errno 13] Permission denied: '/data/collections/collection-root/.Radicale.mtime_test') radicale | [2025-09-17 20:46:30 +0000] [7] [ERROR] Directory permissions: path='/data/collections/collection-root' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 / Effective user: user=radicale(2999) groups=radicale(2999),radicale(2999) radicale | [2025-09-17 20:46:30 +0000] [7] [CRITICAL] An exception occurred during server startup: [Errno 13] Permission denied: '/data/collections/collection-root/.Radicale.mtime_test' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Logging of backtrace is disabled in this loglevel radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Loaded default config radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Loaded config file '/config/config' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Starting Radicale (python=3.12.11 radicale=3.5.6 vobject=0.9.9 passlib=1.7.4 defusedxml=0.7.1 bcrypt=4.3.0 argon2-cffi=25.1.0 pika=1.3.2 ldap=n/a ldap3=2.9.1 pam=n/a) as user=radicale(2999) groups=radicale(2999),radicale(2999) on Linux-6.12.34+rpt-rpi-v8-aarch64-with radicale | [2025-09-17 20:47:23 +0000] [8] [WARNING] No user authentication is selected: '[auth] type=none' (INSECURE) radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth type is 'radicale.auth.none' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.strip_domain: False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.lc_username: False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.uc_username: False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.urldecode_username: False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.delay: 1.000000 radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] auth.cache_logins: False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] storage type is 'radicale.storage.multifilesystem' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage folder umask (from system): '0022' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage location: '/data/collections' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage location permissions: path='/data/collections' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage location subfolder: '/data/collections/collection-root' radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage location subfolder permissions: path='/data/collections/collection-root' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage cache subfolder usage for 'item': False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage cache subfolder usage for 'history': False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage cache subfolder usage for 'sync-token': False radicale | [2025-09-17 20:47:23 +0000] [8] [INFO] Storage cache use mtime and size for 'item': False radicale | [2025-09-17 20:47:23 +0000] [8] [WARNING] Storage item mtime resolution test not possible, cannot write file: '/data/collections/collection-root/.Radicale.mtime_test' ([Errno 13] Permission denied: '/data/collections/collection-root/.Radicale.mtime_test') radicale | [2025-09-17 20:47:23 +0000] [8] [ERROR] Directory permissions: path='/data/collections/collection-root' owner=UNKNOWN(1000) group=UNKNOWN(1000) mode=42775 / Effective user: user=radicale(2999) groups=radicale(2999),radicale(2999) radicale | [2025-09-17 20:47:23 +0000] [8] [CRITICAL] An exception occurred during server startup: [Errno 13] Permission denied: '/data/collections/collection-root/.Radicale.mtime_test' ``` And here my compse file: ```yaml services: radicale: image: tomsquest/docker-radicale container_name: radicale environment: - TAKE_FILE_OWNERSHIP=false ports: - 5232:5232 init: true read_only: true security_opt: - no-new-privileges:true cap_drop: - ALL cap_add: - SETUID - SETGID - CHOWN - KILL healthcheck: test: curl -f http://127.0.0.1:5232 || exit 1 interval: 30s retries: 3 restart: unless-stopped volumes: - /srv/dev-disk-by-uuid-83b15fa6-6e02-4655-bd16-7dad765fd5f4/data/radicale/data:/data - /srv/dev-disk-by-uuid-83b15fa6-6e02-4655-bd16-7dad765fd5f4/data/radicale/config:/etc/radicale ```
关闭于 2025-09-17 3 条评论