Having permission issues with rclone mount

Ubuntu Version:

Not sure

Desktop Environment (if applicable):
CLI interface

Problem Description:

When I try to mount a remote server using rclone I have a permissions issue that I am hoping someone could help me with.

Relevant System Information:

Synology Diskstation

Screenshots or Error Messages:

When I issue this
/usr/bin/rclone mount -vv ultra2:test /var/services/homes/steve/test

I get this

steve@NAS200:~$ /usr/bin/rclone mount -vv ultra2:test /var/services/homes/steve/test
2025/03/17 07:27:19 DEBUG : rclone: Version "v1.69.1" starting with parameters ["/usr/bin/rclone" "mount" "-vv" "ultra2:test" "/var/services/homes/steve/test"]
2025/03/17 07:27:19 DEBUG : Creating backend with remote "ultra2:test"
2025/03/17 07:27:19 DEBUG : Using config file from "/var/services/homes/steve/.config/rclone/rclone.conf"
2025/03/17 07:27:20 DEBUG : sftp:[server]:22/test: New connection XXX.XXX.XXX.XXX:51260->XXX.XXX.XXX.XXX:22 to "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u4"
2025/03/17 07:27:21 DEBUG : sftp:[server]:22/test: Shell type "unix" from config
2025/03/17 07:27:21 DEBUG : sftp:[server]:22/test: Relative path resolved to "/home9/nickhendriks/test"
2025/03/17 07:27:21 DEBUG : sftp:[server]:22/test: Using root directory "/home9/nickhendriks/test"
2025/03/17 07:27:21 INFO  : sftp:[server]:22/test: poll-interval is not supported by this remote
2025/03/17 07:27:21 DEBUG : sftp:[server]:22/test: Mounting on "/var/services/homes/steve/test"
2025/03/17 07:27:21 mount helper error: fusermount3: failed to access mountpoint /volume1/homes/steve/test: Permission denied
2025/03/17 07:27:21 CRITICAL: Fatal error: failed to mount FUSE fs: fusermount: exit status 1

So the permission denied is what I am up against. Is it that rclone does not have the user premission to access the folder I want and if so what are some solutions to give it permission? maybe chmod?

Thank you for any help you can provide me.

What I’ve Tried:

I have posted to rclone forum and they confirmed that this is a linux issue.


Is the Fuse Mod loaded?

modprobe fuse

A quick check:

cat /proc/mounts | grep fuse
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
portal /run/user/1000/doc fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

cat /etc/mtab | grep fuse
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
portal /run/user/1000/doc fuse.portal rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

Um…What is the best way to check? Thank you very much.

Sorry I edited my above post. :wink:

I truly appreciate the guidance. Here is what I get

steve@NAS200:~$ cat /proc/mounts | grep fuse
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
/var/services/homes/steve/ultra2/home/nickhendriks/downloads/test /volume1/homes/steve/test fuse.rclone rw,nosuid,nodev,relatime,user_id=1027,group_id=100,allow_other 0 0
ultra2:home/nickhendriks/downloads/test /volume1/homes/steve/test fuse.rclone rw,nosuid,nodev,relatime,user_id=1027,group_id=100,allow_other 0 0
ultra2:home/nickhendriks/downloads/test /volume1/homes/steve/test fuse.rclone rw,nosuid,nodev,relatime,user_id=1027,group_id=100 0 0
ultra2:/home/nickhendriks/test/ /volume1/homes/steve/target fuse.rclone rw,nosuid,nodev,relatime,user_id=1027,group_id=100 0 0

so yes?

What version Ubuntu?

cat /etc/os-release

this is a synology diskstation. So DSM 7.1 I think

I’ll have to defer to someone wiser then. :frowning:

You far surpass me so thank you. I posted here because the people here are so awesome. I have don’t get the kindness or response from other places. Thank you.

1 Like

no experiance with rclone but it appears to be a permissions issue
try this link it might contain a pointer to the answer you seek

on a rclone forum a post setting the correct file permissions was discussed here