phil
(Philip Stevenson)
June 10, 2018, 6:53am
1
Hi,
I’m unsure how to do the following when the mount point directories & files are encrypted;
gdrive -> cache -> encrypted
rclone lsd
rclone delete
rclone purge
rclone rmdir
I want to remove a directory and contents from the gdrive.
Thanks in advance for any help.
Phil
ncw
(Nick Craig-Wood)
June 10, 2018, 12:07pm
2
What did you try?
Those commands should work fine. However you’ll need to stop the mount as you can only have one cache
involved at once.
Or just do the operations though the mountpoint using standard ls
, rm
, rm -rf
, rmdir
etc.
phil
(Philip Stevenson)
June 11, 2018, 7:19am
3
Hi,
I have tried using rm -r but the mount root directory then becomes unconfigured though still shows as mounted mount command issued.
I haven’t used the rclone delete as didn’t know how.
phil
(Philip Stevenson)
June 11, 2018, 8:18am
4
Hi,
I just updated to the latest beta for OSX as per my other post.
rm -r James * --Errors with rmdir: James Bond Casino Royale: Socket is not connected.
Mount drops out.
ncw
(Nick Craig-Wood)
June 11, 2018, 12:46pm
5
The mount dropping out is a bug… Can you make sure you are using latest rclone and latest OSXFUSE. If so then please post any relevant logs from rclone or from the system.
phil
(Philip Stevenson)
June 13, 2018, 7:52am
6
Hi,
I believe the software version are the latest. I’ve check the system log and there are no errors. Below is captions from the command prompt & last entry for “Allo” in the rclone log. Hopefully this helps.
xbmcs-Mac-mini:media xbmc$ rm -rf Allo
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E04 - Swiftly and with Style.nfo: Socket is not connected
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E04 - Swiftly and with Style.sfv: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel-thumb.jpg: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.avi: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.nfo: Device not configured
rm: 'Allo 'Allo!/Season 02/'Allo 'Allo! - S02E05 - The Duel.sfv: Device not configured
rm: fts_read: Device not configured
Last Entry in log for Allo
2018/06/13 19:32:33 DEBUG : /: Attr:
2018/06/13 19:32:33 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : /: ReadDirAll:
2018/06/13 19:32:33 DEBUG : /: >ReadDirAll: item=7, err=
2018/06/13 19:32:33 DEBUG : 'Allo 'Allo!/: Attr:
2018/06/13 19:32:33 DEBUG : 'Allo 'Allo!/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Movies/: Attr:
2018/06/13 19:32:33 DEBUG : Movies/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Tv/: Attr:
2018/06/13 19:32:33 DEBUG : Tv/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : Videos/: Attr:
2018/06/13 19:32:33 DEBUG : Videos/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=
2018/06/13 19:32:33 DEBUG : fanart.jpg: Attr:
2018/06/13 19:32:33 DEBUG : fanart.jpg: >Attr: a=valid=1s ino=0 size=330702 mode=-rw-rw-r–, err=
2018/06/13 19:32:33 DEBUG : gdrive_start.sh: Attr:
2018/06/13 19:32:33 DEBUG : gdrive_start.sh: >Attr: a=valid=1s ino=0 size=456 mode=-rw-rw-r–, err=
2018/06/13 19:32:33 DEBUG : poster.jpg: Attr:
2018/06/13 19:32:33 DEBUG : poster.jpg: >Attr: a=valid=1s ino=0 size=186376 mode=-rw-rw-r–, err=
ncw
(Nick Craig-Wood)
June 14, 2018, 10:43am
7
Hmm, none of those give me an idea what is going on
Can you check these threads
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 …
and
I think there is an issue with Rclone when copying non-nested, larger files into cached mounted drives in OSX High Sierra.
A) Setup:
Latest OSX High Sierra
Latest RClone beta:
Mounted G Suite Drive using cache (no encryption):
–Remote to G-Suite Drive (“Gdrive”)
–Mounted Cache to a directory on this this remote (“GdriveCache”)
So it is: Gdrive -> GdriveCache:media
Mount script:
rclone mount GdriveCache: /Users/xyz/rclone_data/media_mount_point --allow-other --dir-cache-time=160h --cach…
And see if you think something similar is happening?