The drive is mounted, but no acess the files or folders of drive

Hi,

Programs with Jellyfin or even Next Cloud can't see the mounted folders and files already used the chmod 775 command

without the drive mounted

drwxr-xr-x 2 root root 4096 Apr 26 17:50 lwdrive

with the drive mounted

drwxrwxr-x 1 ubuntu ubuntu 0 Apr 27 18:41 lwdrive

rclone v1.62.2

  • os/version: ubuntu 22.04 (64 bit)

  • os/kernel: 5.15.0-71-generic (x86_64)

  • os/type: linux

  • os/arch: amd64

  • go/version: go1.20.2

  • go/linking: static

  • go/tags: none

  • Google Drive

rclone mount lwdrive: lwdrive --gid 0 --allow-other --daemon &

[lwdrive]
type = drive
client_id = ????????????????
client_secret = ??????????????????????????
scope = drive
token = {"access_token":"??????????????????????????
team_drive =

ubuntu@vps-???????:/$ rclone mount lwdrive: lwdrive -vv
2023/05/02 19:25:16 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "l wdrive:" "lwdrive" "-vv"]
2023/05/02 19:25:16 DEBUG : Creating backend with remote "lwdrive:"
2023/05/02 19:25:16 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/05/02 19:25:16 DEBUG : Google drive root '': 'root_folder_id = 0AAk_TqSLPLlLUk9PVA' - save thi s in the config to speed up startup
2023/05/02 19:25:17 DEBUG : Google drive root '': Mounting on "lwdrive"
2023/05/02 19:25:17 mount helper error: fusermount3: user has no write access to mountpoint /lwdriv e
2023/05/02 19:25:17 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

the rclone mount command failed, so how did you produce this output

with the drive mounted
drwxrwxr-x 1 ubuntu ubuntu 0 Apr 27 18:41 lwdrive

Use the 777 permission to work?

is that required, test without it

I still can't access folders or files

I just tested and still can't access folders or files

run the command with -vv and post full output

ubuntu@vps-???????:/$ rclone mount lwdrive: lwdrive -vv
2023/05/02 19:59:20 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "lwdrive:" "lwdrive" "-vv"]
2023/05/02 19:59:20 DEBUG : Creating backend with remote "lwdrive:"
2023/05/02 19:59:20 DEBUG : Using config file from "/home/ubuntu/.config/rclone/rclone.conf"
2023/05/02 19:59:20 DEBUG : Google drive root '': 'root_folder_id = 0AAk_TqSLPLlLUk9PVA' - save this in the config to speed up startup
2023/05/02 19:59:20 DEBUG : Google drive root '': Mounting on "lwdrive"
2023/05/02 19:59:20 DEBUG : : Root:
2023/05/02 19:59:20 DEBUG : : >Root: node=/, err=
2023/05/02 20:00:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:01:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:02:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:03:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:04:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:05:20 DEBUG : Google drive root '': Checking for changes on remote
2023/05/02 20:06:20 DEBUG : Google drive root '': Checking for changes on remote

that looks good, now add --allow-other

2023/05/02 20:10:47 mount helper error: fusermount3: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
2023/05/02 20:10:47 Fatal error: failed to mount FUSE fs: fusermount: exit status 1

need to edit /etc/fuse.conf and have the text user_allow_other

i have remove '#'?

yes, remove the comment

testing the access in the drive.

the first folders and files is ok!

goin'g testing for here.

tks

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