Copying files into Cache Mount on OS X

Is anyone using rclone cache on OS X?

I have it setup and can read files from the mount but I cannot copy files into the mount.
(I am using rclone v1.40-031-ge42cee5eβ)

If I use the finder it gives an error about permissions,
if I use cp in the terminal I get an error about extended attributes:
could not copy extended attributes Operation not permitted.

I can get the file to copy if I use cp -X
Then it all works

Is there any way I can get it to work when copying from the finder?

I know there are a couple of osxfuse attributes that might help but I am not sure if
a: rclone accepts them
b: the syntax to set them.

I have tried the following in my mount command:

–option --noappledouble --option --noapplexattr
and
–option noappledouble --option noapplexattr

neither of them seemed to make any difference

Any suggestions welcome, thanks

rclone should be setting those options internally

I suggest you take a look at the log from the mount. It is probably telling you that you need to use --vfs-cache-mode writes or above (the finder error).

If that does’t help, then run the mount with -vv and post the log here. Just do a single failing operation as the log can get quite noisy!

Thanks for the reply, but still no go…

I added --vfs-cache-mode writes to my mount command and tried a copy again using the finder.

Still get the same message:
The operation can’t be completed because you don’t have permission to access some of the items.

‘small’ snippet From the -vv log when trying to copy the file to the mount:

2018/04/10 13:45:22 DEBUG : uploads/: Attr:
2018/04/10 13:45:22 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:22 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:45:22 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:45:22 DEBUG : uploads/poster-500.jpg: Attr:
2018/04/10 13:45:22 DEBUG : uploads/poster-500.jpg: >Attr: a=valid=1s ino=0 size=470978 mode=-rw-r–r--, err=
2018/04/10 13:45:22 DEBUG : : Statfs:
2018/04/10 13:45:22 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : /: Lookup: name=".metadata_never_index"
2018/04/10 13:45:34 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : /: Lookup: name=".metadata_never_index_unless_rootfs"
2018/04/10 13:45:34 DEBUG : /: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : /: Attr:
2018/04/10 13:45:34 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:34 DEBUG : uploads/: Attr:
2018/04/10 13:45:34 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:34 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:45:34 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:45:34 DEBUG : uploads/poster-500.jpg: Attr:
2018/04/10 13:45:34 DEBUG : uploads/poster-500.jpg: >Attr: a=valid=1s ino=0 size=470978 mode=-rw-r–r--, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : uploads/: Attr:
2018/04/10 13:45:34 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:34 DEBUG : uploads/: Create: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDWR|O_CREATE|O_EXCL
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc4200883c0): Opening cached copy with flags=O_RDWR|O_CREATE|O_EXCL
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf (rw), err=
2018/04/10 13:45:34 DEBUG : uploads/: >Create: node=uploads/gaggiagrindsettings-copy.pdf, handle=&{uploads/gaggiagrindsettings-copy.pdf (rw)}, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r–r--, err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Flush:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc4200883c0): RWFileHandle.Flush ignoring flush on unwritten handle
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Flush: err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Release:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc4200883c0): RWFileHandle.Release closing
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc4200883c0): close:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Couldn’t find file - need to transfer
2018/04/10 13:45:34 DEBUG : Cache remote gcache:: put data at ‘uploads/gaggiagrindsettings-copy.pdf’
2018/04/10 13:45:34 DEBUG : uploads: cache: expired uploads
2018/04/10 13:45:34 DEBUG : uploads: cache: expired
2018/04/10 13:45:34 DEBUG : uploads: forgetting directory cache
2018/04/10 13:45:34 INFO : uploads/gaggiagrindsettings-copy.pdf: put: uploaded in temp fs
2018/04/10 13:45:34 INFO : uploads/gaggiagrindsettings-copy.pdf: put: queued for upload
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: put: added to cache
2018/04/10 13:45:34 DEBUG : uploads: cache: expired uploads
2018/04/10 13:45:34 DEBUG : uploads: cache: expired
2018/04/10 13:45:34 INFO : uploads: put: cache expired
2018/04/10 13:45:34 DEBUG : uploads: forgetting directory cache
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: object hash cached: d41d8cd98f00b204e9800998ecf8427e
2018/04/10 13:45:34 INFO : uploads/gaggiagrindsettings-copy.pdf: Copied (new)
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: transferred to remote
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc4200883c0): >close: err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Release: err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r–r--, err=
2018/04/10 13:45:34 DEBUG : uploads/: Attr:
2018/04/10 13:45:34 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=OpenReadOnly
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDONLY
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf ®, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fh=&{uploads/gaggiagrindsettings-copy.pdf ®}, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Flush:
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Flush: err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Release:
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Release: err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r–r--, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=OpenReadOnly
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDONLY
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf ®, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fh=&{uploads/gaggiagrindsettings-copy.pdf ®}, err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Flush:
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Flush: err=
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Release:
2018/04/10 13:45:34 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Release: err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : : Statfs:
2018/04/10 13:45:34 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r–r--, err=
2018/04/10 13:45:34 DEBUG : uploads/: Remove: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:34 DEBUG : Cache remote gcache:: list ‘uploads’
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:34 DEBUG : uploads: list: cold listing: 2018-04-10 03:45:34.446760747 +0100 BST
2018/04/10 13:45:34 DEBUG : uploads: list: read 1 from temp fs
2018/04/10 13:45:34 DEBUG : uploads: list: temp fs entries: [uploads/gaggiagrindsettings-copy.pdf]
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:34 DEBUG : uploads/gaggiagrindsettings-copy.pdf: list: cached temp object
2018/04/10 13:45:34 DEBUG : uploads: list: read 1 from source
2018/04/10 13:45:34 DEBUG : uploads: list: source entries: [uploads/poster-500.jpg]
2018/04/10 13:45:34 DEBUG : uploads: list: cached object: uploads/poster-500.jpg
2018/04/10 13:45:34 DEBUG : uploads: list: cached dir: ‘uploads’, cache ts: 2018-04-10 13:45:34.825912258 +0100 BST m=+49.183445047
2018/04/10 13:45:35 DEBUG : uploads/gaggiagrindsettings-copy.pdf: removing object
2018/04/10 13:45:35 DEBUG : uploads: cache: expired uploads
2018/04/10 13:45:35 DEBUG : uploads: cache: expired
2018/04/10 13:45:35 DEBUG : uploads: forgetting directory cache
2018/04/10 13:45:36 DEBUG : /: Attr:
2018/04/10 13:45:36 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : : Statfs:
2018/04/10 13:45:36 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Removed from cache
2018/04/10 13:45:36 DEBUG : uploads/: >Remove: err=
2018/04/10 13:45:36 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:36 DEBUG : Cache remote gcache:: list ‘uploads’
2018/04/10 13:45:36 DEBUG : uploads: list: cold listing: 2018-04-10 03:45:35.679345215 +0100 BST
2018/04/10 13:45:36 DEBUG : uploads: list: read 0 from temp fs
2018/04/10 13:45:36 DEBUG : /: Lookup: name=“uploads”
2018/04/10 13:45:36 DEBUG : uploads: list: temp fs entries: []
2018/04/10 13:45:36 DEBUG : /: >Lookup: node=uploads/, err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:36 DEBUG : uploads: list: read 1 from source
2018/04/10 13:45:36 DEBUG : uploads: list: source entries: [uploads/poster-500.jpg]
2018/04/10 13:45:36 DEBUG : uploads: list: cached object: uploads/poster-500.jpg
2018/04/10 13:45:36 DEBUG : uploads: list: cached dir: ‘uploads’, cache ts: 2018-04-10 13:45:36.443760521 +0100 BST m=+50.801305310
2018/04/10 13:45:36 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:36 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:36 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:36 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:36 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:36 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : uploads/: Create: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDWR|O_CREATE|O_EXCL
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc420486480): Opening cached copy with flags=O_RDWR|O_CREATE|O_EXCL
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf (rw), err=
2018/04/10 13:45:36 DEBUG : uploads/: >Create: node=uploads/gaggiagrindsettings-copy.pdf, handle=&{uploads/gaggiagrindsettings-copy.pdf (rw)}, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=0 mode=-rw-r–r--, err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Write: len=131072, offset=0
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Write: written=131072, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Write: len=131072, offset=131072
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Write: written=131072, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Write: len=114688, offset=262144
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Write: written=114688, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Write: len=3170, offset=376832
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Write: written=3170, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=380002 mode=-rw-r–r--, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Flush:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc420486480): close:
2018/04/10 13:45:36 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:45:36 DEBUG : uploads/: >ReadDirAll: item=2, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Couldn’t find file - need to transfer
2018/04/10 13:45:36 DEBUG : Cache remote gcache:: put data at ‘uploads/gaggiagrindsettings-copy.pdf’
2018/04/10 13:45:36 DEBUG : uploads: cache: expired uploads
2018/04/10 13:45:36 DEBUG : uploads: cache: expired
2018/04/10 13:45:36 DEBUG : uploads: forgetting directory cache
2018/04/10 13:45:36 INFO : uploads/gaggiagrindsettings-copy.pdf: put: uploaded in temp fs
2018/04/10 13:45:36 INFO : uploads/gaggiagrindsettings-copy.pdf: put: queued for upload
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: put: added to cache
2018/04/10 13:45:36 DEBUG : uploads: cache: expired uploads
2018/04/10 13:45:36 DEBUG : uploads: cache: expired
2018/04/10 13:45:36 INFO : uploads: put: cache expired
2018/04/10 13:45:36 DEBUG : uploads: forgetting directory cache
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: object hash cached: 588740e2241a481709efeb6d3400034f
2018/04/10 13:45:36 INFO : uploads/gaggiagrindsettings-copy.pdf: Copied (new)
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: transferred to remote
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc420486480): >close: err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Flush: err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: Release:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf(0xc420486480): RWFileHandle.Release nothing to do
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf (rw)}: >Release: err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=380002 mode=-rw-r–r--, err=
2018/04/10 13:45:36 DEBUG : uploads/: Lookup: name=“poster-500.jpg”
2018/04/10 13:45:36 DEBUG : Cache remote gcache:: list ‘uploads’
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:36 DEBUG : uploads: list: cold listing: 2018-04-10 03:45:36.459831343 +0100 BST
2018/04/10 13:45:36 DEBUG : uploads: list: read 1 from temp fs
2018/04/10 13:45:36 DEBUG : uploads: list: temp fs entries: [uploads/gaggiagrindsettings-copy.pdf]
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: pending upload found
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: list: cached temp object
2018/04/10 13:45:36 DEBUG : uploads: list: read 1 from source
2018/04/10 13:45:36 DEBUG : uploads: list: source entries: [uploads/poster-500.jpg]
2018/04/10 13:45:36 DEBUG : uploads: list: cached object: uploads/poster-500.jpg
2018/04/10 13:45:36 DEBUG : uploads: list: cached dir: ‘uploads’, cache ts: 2018-04-10 13:45:36.679388331 +0100 BST m=+51.036933120
2018/04/10 13:45:36 DEBUG : uploads/: >Lookup: node=uploads/poster-500.jpg, err=
2018/04/10 13:45:36 DEBUG : uploads/poster-500.jpg: Attr:
2018/04/10 13:45:36 DEBUG : uploads/poster-500.jpg: >Attr: a=valid=1s ino=0 size=470978 mode=-rw-r–r--, err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : : Statfs:
2018/04/10 13:45:36 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:36 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:45:36 DEBUG : uploads/: >ReadDirAll: item=2, err=
2018/04/10 13:45:36 DEBUG : : Statfs:
2018/04/10 13:45:36 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=OpenReadOnly
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDONLY
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf ®, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fh=&{uploads/gaggiagrindsettings-copy.pdf ®}, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Flush:
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Flush: err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Release:
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Release: err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=380002 mode=-rw-r–r--, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=OpenReadOnly
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Open: flags=O_RDONLY
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fd=uploads/gaggiagrindsettings-copy.pdf ®, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Open: fh=&{uploads/gaggiagrindsettings-copy.pdf ®}, err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Flush:
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Flush: err=
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: Release:
2018/04/10 13:45:36 DEBUG : &{uploads/gaggiagrindsettings-copy.pdf ®}: >Release: err=
2018/04/10 13:45:36 DEBUG : uploads/: Attr:
2018/04/10 13:45:36 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:45:36 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=380002 mode=-rw-r–r--, err=
2018/04/10 13:45:37 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:45:37 DEBUG : uploads/: >ReadDirAll: item=2, err=
2018/04/10 13:45:37 DEBUG : : Statfs:
2018/04/10 13:45:37 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:42 DEBUG : : Statfs:
2018/04/10 13:45:42 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:45:45 DEBUG : Cache remote gcache:: starting cleanup
2018/04/10 13:45:45 DEBUG : Cleaning the cache
2018/04/10 13:45:46 DEBUG : Google drive root ‘’: Checking for changes on remote
2018/04/10 13:45:46 DEBUG : Google drive root ‘’: All changes were processed. Waiting for more.
2018/04/10 13:46:03 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Attr:
2018/04/10 13:46:03 DEBUG : uploads/gaggiagrindsettings-copy.pdf: >Attr: a=valid=1s ino=0 size=380002 mode=-rw-r–r--, err=
2018/04/10 13:46:03 DEBUG : uploads/: Remove: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : uploads/gaggiagrindsettings-copy.pdf: removing object
2018/04/10 13:46:04 DEBUG : uploads: cache: expired uploads
2018/04/10 13:46:04 DEBUG : uploads: cache: expired
2018/04/10 13:46:04 DEBUG : uploads: forgetting directory cache
2018/04/10 13:46:04 DEBUG : uploads/gaggiagrindsettings-copy.pdf: Removed from cache
2018/04/10 13:46:04 DEBUG : uploads/: >Remove: err=
2018/04/10 13:46:04 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : Cache remote gcache:: list ‘uploads’
2018/04/10 13:46:04 DEBUG : uploads: list: cold listing: 2018-04-10 03:46:04.188400684 +0100 BST
2018/04/10 13:46:04 DEBUG : uploads: list: read 0 from temp fs
2018/04/10 13:46:04 DEBUG : uploads: list: temp fs entries: []
2018/04/10 13:46:04 DEBUG : uploads: list: read 1 from source
2018/04/10 13:46:04 DEBUG : uploads: list: source entries: [uploads/poster-500.jpg]
2018/04/10 13:46:04 DEBUG : uploads: list: cached object: uploads/poster-500.jpg
2018/04/10 13:46:04 DEBUG : uploads: list: cached dir: ‘uploads’, cache ts: 2018-04-10 13:46:04.945577495 +0100 BST m=+79.303292284
2018/04/10 13:46:04 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:04 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:04 DEBUG : uploads/: Attr:
2018/04/10 13:46:04 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:04 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:04 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:04 DEBUG : : Statfs:
2018/04/10 13:46:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:04 DEBUG : /: Attr:
2018/04/10 13:46:04 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:04 DEBUG : : Statfs:
2018/04/10 13:46:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:04 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:04 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:04 DEBUG : : Statfs:
2018/04/10 13:46:04 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:04 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:46:04 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:46:04 DEBUG : uploads/poster-500.jpg: Attr:
2018/04/10 13:46:04 DEBUG : uploads/poster-500.jpg: >Attr: a=valid=1s ino=0 size=470978 mode=-rw-r–r--, err=
2018/04/10 13:46:04 DEBUG : uploads/: Attr:
2018/04/10 13:46:04 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:05 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:46:05 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:46:05 DEBUG : uploads/: Attr:
2018/04/10 13:46:05 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:05 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:46:05 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:46:05 DEBUG : : Statfs:
2018/04/10 13:46:05 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:05 DEBUG : : Statfs:
2018/04/10 13:46:05 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:05 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:05 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:05 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:05 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:05 DEBUG : uploads/: Lookup: name=“gaggiagrindsettings-copy.pdf”
2018/04/10 13:46:05 DEBUG : uploads/: >Lookup: node=, err=no such file or directory
2018/04/10 13:46:05 DEBUG : uploads/: Attr:
2018/04/10 13:46:05 DEBUG : uploads/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:05 DEBUG : uploads/: ReadDirAll:
2018/04/10 13:46:05 DEBUG : uploads/: >ReadDirAll: item=1, err=
2018/04/10 13:46:05 DEBUG : : Statfs:
2018/04/10 13:46:05 DEBUG : : >Statfs: stat={Blocks:274877906944 Bfree:274877906944 Bavail:274877906944 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=
2018/04/10 13:46:12 DEBUG : /: Attr:
2018/04/10 13:46:12 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=
2018/04/10 13:46:12 DEBUG : : Statfs:

Thanks for the log… The file appeared to upload correctly, then disappeared from the listings. I don’t know where the permissions issue come from though!

Can you try the same test without the cache backend involved please? I’d like to narrow the problem down a bit…

Thanks,

so just to clarify, I should just mount my standard google drive with --vfs-cache-mode writes

and then see if copying a file to that works?

Yes please - that would be perfect!

Ok,

So I mounted my standard google drive with this:

rclone-14beta mount gDrive: /path/to/mount/gDrive/
–allow-other
–vfs-cache-mode writes
-vv

And this allowed me to copy a file into my mounted drive from the finder.

And just checked my google drive and the file has been uploaded.

The mount command I was using with the cache was this:

rclone-14beta mount gcache: /path/to/mount/gDrive/
–allow-other
–dir-cache-time=8h
–cache-chunk-size=5M
–cache-info-age=10h
–cache-workers=8
–buffer-size 0M
–attr-timeout=1s
–rc
–cache-writes
–vfs-cache-mode writes
–cache-tmp-upload-path /mypath/_rclone_upload
–cache-tmp-wait-time 60m
–cache-db-path /myhomedir/.cache/rcloneCache
–cache-chunk-path=/myhomedir/.cache/rcloneChunks
-vv

A couple of the config options were added in attempts to get it to work:

–cache-writes
–vfs-cache-mode writes \

Not sure that I actually need --cache-writes

and fwiw there is no encryption in this example / setup

I tried mounting the cache using the same flags I used when mounting the standard drive.

When I copied a file to to this it seemed to work (I assume that it uploads the file as soon as you copy it, at least thats what seemed to happen)

Then I tried another file and got the error message, so it seems a bit random as to wether it will copy the files or not, some seem to copy and some don’t (Which I know is not very helpful when trying to find a problem)

Using the xattr command I can see the extended attributes of the files.

So if I use xattr -c to remove the attributes then I can generally manage to copy the files using cp without the -X flag, but trying to copy the same file using the finder still brings up an error, even once the extended attributes have been removed.

Also, copying larger files to the mount without setting --cache-tmp-upload-path using cp gives me an error “Socket is not connected” which I guess is the mount dropping/disconnecting

So I have to admit I am a little bit confused.

Me too! So in your tests it seems to work 100% of the time without the cache involved, but only some of the time with the cache involved - have I understood correctly?

I think I am have to going to have to some more methodical testing…

I only tried one file without the cache, so I will try mounting it again without cache and try a few more files.

Will let you know how I get on

1 Like

Ok, some test results. (problems do seem to happen with cache and without)

I mounted without cache:

Tried copying a 550MB video file (making sure it had no additional attributes) to the mount via Finder

Result: Finder started copy and rclone started to upload chunks, Finder then reported the error

Rclone continued to upload, then rclone sort of stopped:

2018/04/11 18:30:40 DEBUG : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells.mp4: Sending chunk 553648128 length 5667792
2018/04/11 18:30:44 INFO : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells.mp4: Copied (new)
2018/04/11 18:30:44 DEBUG : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells.mp4: transferred to remote
2018/04/11 18:30:44 DEBUG : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells.mp4(0xc4202e2540): >close: err=
2018/04/11 18:30:44 DEBUG : &{uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells.mp4 (rw)}: >Flush: err=
2018/04/11 18:30:44 DEBUG : rclone: Version “v1.40-031-ge42cee5eβ” finishing with parameters ["/usr/local/bin/rclone-14beta" “mount” “gSuite:” “/mounts/gDrive/” “–allow-other” “–vfs-cache-mode” “writes” “-vv”]

but mount still shows:
gSuite: on /mounts/gDrive (osxfuse, nodev, nosuid, synchronous, mounted by admin)

If I try to cd to a dir on the mount I get “Device not configured” Error

Manually unmounted the volume and remounted… then on to test 2

So next, I removed the uploaded file from my google drive and tried to copy the file using cp

and that gave me a Socket is not connected error, but looking at the rclone log it is still transferring the file
rclone finished uploading the file, but again it ended again:
rclone: Version “v1.40-031-ge42cee5eβ” finishing with parameters…

I downloaded the uploaded file from my gdrive and it appears to be the same size as the original and does play, so looks like the file is ok (just checked and the MD5 is the same for both files)

So next I tried mounting the cache with the same setting as the previous mount but adding settings
–cache-tmp-upload-path
and
–cache-tmp-wait-time 5m

So copying the file via the finder gets me the permissions error
and nothing gets copied to dir I specified with --cache-tmp-upload-path

Using cp the file is copied without issue and I can see it in dir specified with --cache-tmp-upload-path

And after the 5 min I can now see rclone is uploading the file… and now is done and I can see the file in my gdrive.
I downloaded it and the md5 of both files match.

I guess there are not many mac users who need to write to their mounts :wink:

I might try adding --debug-fuse to see if that holds any clues?

That is very strange. rclone did just exit but didn’t print anything in the log!

It was an orderly shutdown though so it is as if the mount just exited. You might find --debug-fuse prints more info here.

The fact it is consistent will mean it should be easy to track it down anyway!

BTW are you using a recent version of OSXFUSE?

That looks like a separate issue to the stopping one.

The integration tests run on travis run the mount through the test suite on OSX so it should work!

Unfortunately I don’t have an OSX machine which is going to make this hard to debug :frowning:

I’ll see if I can get it running in VirtualBox…

I am using the latest version of osxfuse (3.7.1) the pkg download from osxfuse.github.io rather than installing using homebrew or macports.

I also use sshfs to mount directories from some of my servers, so I did try copying the same file into one of my sshfs mounts using the finder and this worked without issues.
Both the rclone mount and the sshfs mounts look the same:
(osxfuse, nodev, nosuid, synchronous, mounted by admin)

I did try with --debug-fuse last night and did not spot anything obvious, but it is very noisy, and I am not really sure what I am looking for, so I will give it another go later.

Thanks - I’m particularly interested in why the mount just stopped without cache so the end of the log would be most interesting.

Hi,

Just tried the regular mount (no cache) with fuse-debug and tried copying the file again using the finder.

Got the permissions error as expected, and from the end of the log we have:

2018/04/12 12:03:55 INFO : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells WEBDL-720p ipl.mp4: Copied (new)
2018/04/12 12:03:55 DEBUG : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells WEBDL-720p ipl.mp4: transferred to remote
2018/04/12 12:03:55 DEBUG : uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells WEBDL-720p ipl.mp4(0xc4213ba240): >close: err=
2018/04/12 12:03:55 DEBUG : &{uploads/David Attenboroughs Natural Curiosities - s04e05 - Incredible Shells WEBDL-720p ipl.mp4 (rw)}: >Flush: err=
2018/04/12 12:03:55 DEBUG : fuse: -> [ID=0x4] Flush
2018/04/12 12:03:55 DEBUG : fuse: kernel write error: error=“socket is not connected” stack=
goroutine 4221 [running]:
github.com/ncw/rclone/vendor/bazil.org/fuse.stack(0x1ce0920, 0xc4258f0180)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/debug.go:9 +0x74
github.com/ncw/rclone/vendor/bazil.org/fuse.(*Conn).respond(0xc42033c4e0, 0xc4258f0170, 0x10, 0x10)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fuse.go:1113 +0x96
github.com/ncw/rclone/vendor/bazil.org/fuse.(*Header).respond(0xc425cccaf0, 0xc4258f0170, 0x10, 0x10)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fuse.go:313 +0x59
github.com/ncw/rclone/vendor/bazil.org/fuse.(*FlushRequest).Respond(0xc425cccaf0)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fuse.go:2091 +0x6d
github.com/ncw/rclone/vendor/bazil.org/fuse/fs.(*Server).handleRequest(0xc420132240, 0x1ce8e80, 0xc425d84a40, 0x1cdd700, 0xc4201717c0, 0xc420204700, 0x1ce6f80, 0xc425cccaf0, 0xc425ef7ef8, 0x0, …)
/home/travis/gopath/src/github.com/ncw/rclone/vendor/bazil.org/fuse/fs/serve.go:1287 +0x2b7
2018/04/12 12:03:55 DEBUG : rclone: Version “v1.40-065-ge82452ceβ” finishing with parameters…

Don’t know if that helps, if you need any more of the log, let me know.

(oh and I updated to the latest beta, just in case that made any difference)

That is helpful thanks.

What appeared to happen is that rclone via the fuse library it used tried to respond to the kernel but the kernel closed the socket. Which is weird!

Are there any kernel logs you can look at to see if there is a message from the kernel?

It would be interesting if you could give this binary a try… It is built with the native libraries and will support an alternate libfuse based mount called cmount

https://833-17803236-gh.circle-artifacts.com/0/tmp/rclone.dist/rclone-darwin-10.6-amd64

so rclone cmount ... instead of rclone mount .... That may (or may not) shed some light on the issue!

BTW which version of macOS are you running?

Am running 10.12.6 (Sierra)
(I have not updated to High Sierra yet)

I will dig through the OSX logs to see what I can find.

I will give that version a go a bit later and report back what happens.

Thanks

Just tried that binary and cmount will mount the drive but it shows as empty.
(tried with and without sudo, just in case, same result no files or folders show up in the mount)

:frowning:

That makes me wonder if there is something wrong with your OSXFUSE install… Have you tried re-installing it?

How about different versions of OSXFUSE?

I did wonder that, but if there is something wrong with my OSXFUSE install I would have expected to see problems when copying to my sshfs mounts.

But I will try re-installs and different versions this evening.

I just tried installing osxfuse on my Mac at work which is running a much older OSX, 10.10.5

And that exhibits the same issues…