What is the problem you are having with rclone?
Android Fatal error: failed to mount FUSE fs: fusermount: fork/exec /system/bin/fusermount: permission denied
Even running as root and even with what appear to be correct permissions. I checked the related posts but still could not solve the issue.
What is your rclone version (output from rclone version
)
rclone: Version "v1.57.0-beta.5698.19fc1b2a9"
Android is version 7 on a rooted Samsung Galaxy S8 (stock firmware)
Which cloud storage system are you using? (eg Google Drive)
pCloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
# rclone -vvv mount mypcloud: /mnt/cloud/mypcloud --gid 9997 --dir-perms 0771 --file-perms 0660 --umask=0 --allow-other
WARNING: linker: /data/data/com.termux/files/usr/bin/rclone: unsupported flags DT_FLAGS_1=0x8000001
2021/10/22 14:53:34 DEBUG : Setting --config "/data/data/com.termux/files/home/.config/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2021/10/22 14:53:34 DEBUG : rclone: Version "v1.57.0-beta.5698.19fc1b2a9" starting with parameters ["rclone" "-vvv" "mount" "mypcloud:" "/mnt/cloud/mypcloud" "--gid" "9997" "--dir-perms" "0771" "--file-perms" "0660" "--umask=0" "--allow-other"]
2021/10/22 14:53:34 DEBUG : Creating backend with remote "mypcloud:"
2021/10/22 14:53:34 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2021/10/22 14:53:34 INFO : pcloud root '': poll-interval is not supported by this remote
2021/10/22 14:53:34 NOTICE: pcloud root '': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2021/10/22 14:53:34 DEBUG : pcloud root '': Mounting on "/mnt/cloud/mypcloud"
2021/10/22 14:53:34 Fatal error: failed to mount FUSE fs: fusermount: fork/exec /system/bin/fusermount: permission denied
The rclone config contents with secrets removed.
# cat /data/data/com.termux/files/home/.config/rclone/rclone.conf
[mypcloud]
type = pcloud
hostname = api.pcloud.com
token = {"access_token":"xxxxxxxxxxxxxxxx","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
More info
# ls -la /system/bin/fusermount
-rwxrwxrwx 1 root root 95904 2021-10-22 01:56 /system/bin/fusermount
# echo $PATH
/sbin:/sbin/su:/su/bin:/su/xbin:/system/bin:/system/xbin
# ls -la /mnt/cloud/
total 0
drwx------ 3 root root 60 2021-10-22 02:03 .
drwxr-xr-x 11 root system 240 2021-10-22 02:02 ..
drwxrwxrwx 2 root root 40 2021-10-22 02:03 mypcloud