What is the problem you are having with rclone?
Installed Rclone and Fuse-T as per rclone mount mount is working as I can see "Teamdrive Media Books" in locations under finder and if I click into it I can see the GDrive content. However, when I go to the folder I mounted to I can not ls
% ls
ls: .: Operation not permitted
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
-
os/version: darwin 13.3 (64 bit)
-
os/kernel: 22.4.0 (arm64)
-
os/type: darwin
-
os/arch: arm64 (ARMv8 compatible)
-
go/version: go1.20.2
-
go/linking: dynamic
-
go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Google Shared Drive is where I'm mounting from
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount -o modules=iconv,from_code=UTF-8,to_code=UTF-8 --vfs-cache-mode=full teamdrive:/Media/Books /users/giddion/calibre_library
The rclone config contents with secrets removed.
[teamdrive]
type = drive
client_id = 827289004945-6akc8ndf49l1pbms6p6gt8669p2on4qf.apps.googleusercontent.com
scope = drive
token =
{"access_token":"***","token_type":"Bearer","refresh_token":"***"}
team_drive = 0AElM2YjHYs4UUk9PVA
service_account_file = /opt/sa-json/media-automation-sa-01.json
root_folder_id =
A log from the command with the -vv
flag
2023/04/09 10:26:35 DEBUG : rclone: Version "v1.62.2" starting with parameters ["rclone" "mount" "-o" "modules=iconv,from_code=UTF-8,to_code=UTF-8" "--vfs-cache-mode=full" "-vv" "teamdrive:/Media/Books" "/users/giddion/calibre_library"]
2023/04/09 10:26:35 DEBUG : Creating backend with remote "teamdrive:/Media/Books"
2023/04/09 10:26:35 DEBUG : Using config file from "/Users/giddion/.config/rclone/rclone.conf"
2023/04/09 10:26:36 DEBUG : fs cache: renaming cache item "teamdrive:/Media/Books" to be canonical "teamdrive:Media/Books"
2023/04/09 10:26:36 DEBUG : vfs cache: root is "/Users/giddion/Library/Caches/rclone"
2023/04/09 10:26:36 DEBUG : vfs cache: data root is "/Users/giddion/Library/Caches/rclone/vfs/teamdrive/Media/Books"
2023/04/09 10:26:36 DEBUG : vfs cache: metadata root is "/Users/giddion/Library/Caches/rclone/vfsMeta/teamdrive/Media/Books"
2023/04/09 10:26:36 DEBUG : Creating backend with remote "/Users/giddion/Library/Caches/rclone/vfs/teamdrive/Media/Books"
2023/04/09 10:26:36 DEBUG : Creating backend with remote "/Users/giddion/Library/Caches/rclone/vfsMeta/teamdrive/Media/Books"
2023/04/09 10:26:36 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item .DS_Store not removed, freed 0 bytes
2023/04/09 10:26:36 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 6.004Ki (was 6.004Ki)
2023/04/09 10:26:36 DEBUG : Mounting on "/users/giddion/calibre_library" ("teamdrive Media Books")
2023/04/09 10:26:36 DEBUG : Google drive root 'Media/Books': Mounting with options: ["-o" "attr_timeout=1" "-o" "fsname=teamdrive:Media/Books" "-o" "subtype=rclone" "-o" "max_readahead=131072" "-o" "atomic_o_trunc" "-o" "daemon_timeout=600" "-o" "volname=teamdrive Media Books" "-o" "noappledouble" "-o" "modules=iconv,from_code=UTF-8,to_code=UTF-8"]
2023/04/09 10:26:36 DEBUG : Google drive root 'Media/Books': Init:
2023/04/09 10:26:36 DEBUG : Google drive root 'Media/Books': >Init:
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : Google drive root 'Media/Books': read info from Shared Drive "MediaBase"
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:36 DEBUG : /: >Getattr: errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:36 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:36 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:36 DEBUG : /: Statfs:
2023/04/09 10:26:36 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:36 DEBUG : /.hidden: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:38 DEBUG : /.hidden: >Getattr: errc=-2
2023/04/09 10:26:38 DEBUG : /: Statfs:
2023/04/09 10:26:38 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Getattr: errc=0
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /.DS_Store: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /.DS_Store: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : /.DS_Store: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Getattr: errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: OpenEx: flags=0x0
2023/04/09 10:26:38 DEBUG : /.DS_Store: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/04/09 10:26:38 DEBUG : .DS_Store: Open: flags=O_RDONLY
2023/04/09 10:26:38 DEBUG : .DS_Store: newRWFileHandle:
2023/04/09 10:26:38 DEBUG : .DS_Store: >newRWFileHandle: err=<nil>
2023/04/09 10:26:38 DEBUG : .DS_Store: >Open: fd=.DS_Store (rw), err=<nil>
2023/04/09 10:26:38 DEBUG : /.DS_Store: >OpenFile: fd=.DS_Store (rw), err=<nil>
2023/04/09 10:26:38 DEBUG : /.DS_Store: >OpenEx: errc=0, fh=0x0
2023/04/09 10:26:38 DEBUG : /: Statfs:
2023/04/09 10:26:38 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Read: ofst=0, fh=0x0
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): _readAt: size=32768, off=0
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): openPending:
2023/04/09 10:26:38 DEBUG : .DS_Store: vfs cache: checking remote fingerprint "6148,2023-04-09 14:10:09.91 +0000 UTC,75fdbcc2b00cff8b836e8df017b8d355" against cached fingerprint "6148,2023-04-09 14:10:09.91 +0000 UTC,75fdbcc2b00cff8b836e8df017b8d355"
2023/04/09 10:26:38 DEBUG : .DS_Store: vfs cache: truncate to size=6148 (not needed as size correct)
2023/04/09 10:26:38 DEBUG : /: Listxattr: fill=0x1016e9c60
2023/04/09 10:26:38 DEBUG : /: >Listxattr: errc=-78
2023/04/09 10:26:38 DEBUG : : Added virtual directory entry vAddFile: ".DS_Store"
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): >openPending: err=<nil>
2023/04/09 10:26:38 DEBUG : vfs cache: looking for range={Pos:0 Size:6148} in [{Pos:0 Size:6148}] - present true
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): >_readAt: n=6148, err=EOF
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Read: n=6148
2023/04/09 10:26:38 DEBUG : /: Statfs:
2023/04/09 10:26:38 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:38 DEBUG : /: Opendir:
2023/04/09 10:26:38 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2023/04/09 10:26:38 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2023/04/09 10:26:38 DEBUG : /: >Opendir: errc=0, fh=0x1
2023/04/09 10:26:38 DEBUG : /: Readdir: ofst=0, fh=0x1
2023/04/09 10:26:38 DEBUG : /: >Readdir: items=382, errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Flush: fh=0x0
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): RWFileHandle.Flush
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Flush: errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Release: fh=0x0
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): RWFileHandle.Release
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): close:
2023/04/09 10:26:38 DEBUG : /: Statfs:
2023/04/09 10:26:38 DEBUG : /: >Statfs: stat={Bsize:4096 Frsize:4096 Blocks:4294967295 Bfree:4294967295 Bavail:4294967295 Files:1000000000 Ffree:1000000000 Favail:0 Fsid:0 Flag:0 Namemax:255}, errc=0
2023/04/09 10:26:38 DEBUG : .DS_Store: vfs cache: setting modification time to 2023-04-09 14:10:09.91 +0000 UTC
2023/04/09 10:26:38 DEBUG : .DS_Store(0x14000c1f6c0): >close: err=<nil>
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Release: errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Getattr: errc=0
2023/04/09 10:26:38 DEBUG : /: Releasedir: fh=0x1
2023/04/09 10:26:38 DEBUG : /: >Releasedir: errc=0
2023/04/09 10:26:38 DEBUG : /.DS_Store: Getattr: fh=0xFFFFFFFFFFFFFFFF
2023/04/09 10:26:38 DEBUG : /.DS_Store: >Getattr: errc=0
2023/04/09 10:26:38 DEBUG : /A Guide for Professionals: Getattr: fh=0xFFFFFFFFFFFFFFFF
Truncated the log rather than listing all the folders In the shared drive