macOS: Union folder doesn't display "local" subfolder

What is the problem you are having with rclone?


I try to reproduce same behavior like mergerfs on macOS using a local file, a remote share and a union folder used for Plex.

When moving a movie with his folder to the local folder, the movie file is not displayed from the Union mount and can't be used by Plex.

Then, if I try to copy the folder from the local to the Union mount folder, I have an error message from the finder "operation cannot be completed because an item already exists with that name" but a new folder is created / displayed in the "Union" mount folder, then reachable by any application using the union folder.

If I decide to move the folder directly to the "Union" folder, the file is copied inside the vfs cache then uploaded immediately to google.

I don't have the same folder structure between the local and the union folder:

  • Local Folder: /Users/jeanmichel/local/Films/MovieName (2020)/MovieName.mkv
  • Union Folder: /Users/jeanmichel/Medias/Films


What is your rclone version (output from rclone version)

  • v1.54.0-beta.5029.add7a35e5
  • os/arch: darwin/amd64
  • go version: go1.15.6

Which OS you are using and how many bits (eg Windows 7, 64 bit)

macOS Apple M1
11.1 (20C69)

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

Google Drive with a crypt drive

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

/usr/local/bin/rclone cmount ShareDrive-Union: /Users/jeanmichel/Medias --allow-other --dir-cache-time=1000h --poll-interval=15s --umask=002 --vfs-cache-mode=full --vfs-read-ahead=128M --bwlimit=0 --stats=1s --fast-list --rc --vfs-cache-max-size=200G --log-file=/Users/jeanmichel/Library/logs/rclone/mdd.log

The rclone config contents with secrets removed.

type = drive
client_id =
client_secret = 
scope = drive
token = 
team_drive = 
server_side_across_configs = true

type = crypt
remote = Google:/Medias
filename_encryption = standard
directory_name_encryption = true
password = 
password2 = 

type = union
upstreams = /Users/jeanmichel/local ShareDrive:jeanmichel

A log from the command with the -vv flag

Paste  log here

Can you replicate the issue and share a debug log?

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