Cant open folder with other user then root. help please

What is the problem you are having with rclone?

hey guys, this drives me nuts. i am mounting google drive with full permissions (rwx) to a mountpoint (/gdrive) with user root. but when i am trying to open that mounted folder as an different user then root, it says: "no permission": even the folder is shown with full permissions (rwx):

root@raspberrypi:/# ls -l /
total 76

drwxrwxrwx    1 root root     0 Feb 27 21:28 gdrive
drwxr-xr-x+   4 root root  4096 Feb 27 20:43 home


root@raspberrypi:/# ls -l /gdrive/
total 0
drwxrwxrwx 1 root root 0 Feb  7 00:18 'music'

but when i am trying to cd into that folder with user pi or any other user i get an message permissions denied.

and ls -l with user pi shows that /gdrive mount with d?????.

i am so confused.

pi@raspberrypi:/ $ ls -l /gdrive 
ls: cannot access '/gdrive': Permission denied
pi@raspberrypi:/ $ cd /gdrive
-bash: cd: /gdrive: Permission denied
pi@raspberrypi:/ $ ls -l /
ls: cannot access '/gdrive': Permission denied
total 76

drwxr-xr-x    2 root root  4096 Feb 20 01:39 export
d??????????   ? ?    ?        ?            ? gdrive
drwxr-xr-x+   4 root root  4096 Feb 27 20:43 home
lrwxrwxrwx    1 root root     7 Feb 21 02:02 lib -> usr/lib

when i am logged in as user root, everything works normal.

please help. thank you

Run the command 'rclone version' and share the full output of the command.

root@raspberrypi:/# rclone version
rclone v1.61.1

  • os/version: raspbian 11.6
  • os/kernel: 6.1.12-v7l+ (armv7l)
  • os/type: linux
  • os/arch: arm
  • go/version: go1.19.4
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

googel drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount gdrive:hoerbuch /gdrive --file-perms 0777 --dir-perms 0777 --umask 000

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

might try adding --allow-other

thank you so much. that worked.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.