Mounting a combine remote that contains a crypt remote is broken since 1.70

What is the problem you are having with rclone?

With the 1.70 update my rclone mount setup stopped working. When listing files in the mounted folder, no files are showing up. With version 1.69.3, the described problem does not occur.

Through experimentation, it seems that the following wrapping chain of remotes is broken with mount:

combine -> crypt -> *

I am using crypt to wrap onedrive, but I checked that wrapping drive and local also yielded the same result: No files show up in the mounted folder.

Using other rclone commands to interact with the backends without mounting is working fine.

Interestingly, when I used the config shown below that uses a local remote, the mount command with -vv produced an error that could hint at the problem, though I'm not entirely sure. With onedrive or drive, no extra error message shows up, the folder is just empty.

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

rclone v1.70.1
- os/version: fedora 42 (64 bit)
- os/kernel: 6.14.9-300.fc42.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.4
- go/linking: static
- go/tags: none

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

  • combine
  • crypt
  • onedrive / drive / local

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

rclone mount mycombine: /tmp/foo -vv
ls /tmp/foo/bar
ls /tmp/foo/foo

The rclone config contents with secrets removed.

[mycombine]
type = combine
upstreams = foo=mycrypt: bar=mydrive_crypt:

[mycrypt]
type = crypt
remote = /tmp/bar
password = [...]

[mydrive]
type = drive
scope = drive
token = [...]
team_drive = 
root_folder_id = 0AI_wF1ivKSs4Uk9PVA

[mydrive_crypt]
type = crypt
remote = mydrive:dir
password = [...]

A log from the command with the -vv flag

2025/06/20 18:18:54 DEBUG : rclone: Version "v1.70.1" starting with parameters ["rclone" "mount" "mycombine:" "/tmp/foo/" "-vv"]
2025/06/20 18:18:54 DEBUG : Creating backend with remote "mycombine:"
2025/06/20 18:18:54 DEBUG : Using config file from "/home/realansgar/.config/rclone/rclone.conf"
2025/06/20 18:18:54 DEBUG : Creating backend with remote "mydrive_crypt:"
2025/06/20 18:18:54 DEBUG : Creating backend with remote "mycrypt:"
2025/06/20 18:18:54 DEBUG : Creating backend with remote "/tmp/bar"
2025/06/20 18:18:54 DEBUG : Creating backend with remote "mydrive:dir"
2025/06/20 18:18:54 DEBUG : combine root '': Mounting on "/tmp/foo/"
2025/06/20 18:18:54 DEBUG : Root: 
2025/06/20 18:18:54 DEBUG : >Root: node=/, err=<nil>
2025/06/20 18:18:54 DEBUG : /: Lookup: name=".Trash"
2025/06/20 18:18:54 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/06/20 18:18:54 DEBUG : /: Lookup: name=".Trash-1000"
2025/06/20 18:18:54 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2025/06/20 18:18:57 DEBUG : /: Lookup: name="bar"
2025/06/20 18:18:57 DEBUG : /: >Lookup: node=bar/, err=<nil>
2025/06/20 18:18:57 DEBUG : bar/: Attr: 
2025/06/20 18:18:57 DEBUG : bar/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2025/06/20 18:18:57 DEBUG : bar/: ReadDirAll: 
2025/06/20 18:18:57 DEBUG : bar/: >ReadDirAll: item=2, err=<nil>
2025/06/20 18:19:07 DEBUG : /: Lookup: name="foo"
2025/06/20 18:19:07 DEBUG : /: >Lookup: node=foo/, err=<nil>
2025/06/20 18:19:07 DEBUG : foo/: Attr: 
2025/06/20 18:19:07 DEBUG : foo/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2025/06/20 18:19:07 DEBUG : foo/: ReadDirAll: 
2025/06/20 18:19:07 DEBUG : foo: Dir.ReadDirAll error: failed to read directory entry: readdirent /tmp/bar/og4qf8tcse5p1cladnbgnvo74o: not a directory
2025/06/20 18:19:07 ERROR : IO error: failed to read directory entry: readdirent /tmp/bar/og4qf8tcse5p1cladnbgnvo74o: not a directory
2025/06/20 18:19:07 DEBUG : foo/: >ReadDirAll: item=-1, err=failed to read directory entry: readdirent /tmp/bar/og4qf8tcse5p1cladnbgnvo74o: not a directory

am having the same issues

This is fixed in v1.70.2

2 Likes

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