Post Content:
Hello everyone,
I am facing a permission issue with Nextcloud installed via Snap, and I would really appreciate some guidance.
System Information
-
OS: Debian (latest stable)
-
Nextcloud installation method: Snap
-
Storage: Google Drive mounted using rclone
-
Mount type: rclone mount (FUSE)
What Happened
Initially, I installed Nextcloud using Docker, but I encountered API-related errors. Because of that, I switched to the Snap version of Nextcloud.
Since my local disk space was insufficient, I mounted my Google Drive using rclone and configured it as storage.
Interestingly:
-
Immich works perfectly with the same mount.
-
However, Nextcloud throws a permission error (0770).
The Problem
Nextcloud reports a permission error related to directory access (0770).
Even when I run:
chown -R www-data:www-data /mounted_directory
chmod -R 0770 /mounted_directory
The ownership and permissions do not actually change. It seems like the permissions are not being applied to the mounted directory.
What I Suspect
I suspect this might be related to:
-
Snap confinement restrictions
-
UID/GID mismatch
-
rclone FUSE mount permissions
-
AppArmor limitations
My Questions
-
Is Snap Nextcloud allowed to access rclone FUSE mounts by default?
-
Do I need to connect additional Snap interfaces?
-
Should I mount rclone with specific uid/gid parameters?
-
Is there a recommended way to use Google Drive as primary storage with Snap Nextcloud?
Any help would be greatly appreciated.
Thank you in advance ![]()