Can I delete from a Union Mount?

What is the problem you are having with rclone?

When I try this I get operation not permitted?
I've been reading the thread about this, and from what I can tell I should be able to delete so I'm abit confused

What is your rclone version (output from rclone version)

Lastest Docker Beta

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

Ubuntu 20

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

Google

docker run -d \
--name mount_media \
--volume ~/.config/rclone:/config/rclone \
--volume ~/data:/data:shared \
--user 1001:1001 \
--volume /etc/passwd:/etc/passwd:ro --volume /etc/group:/etc/group:ro \
--device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined \
--restart unless-stopped \
rclone/rclone:beta \
mount media: /data/media \
--dir-cache-time 1h \
--log-level INFO \
--umask 002 \
--log-file /config/rclone/logs/rcloneUnion.log \
--poll-interval 15s \
--crypt-show-mapping \
--vfs-read-chunk-size 32M \
--rc \
--rc-addr :5572 \
&
[td1]
type = drive
scope = drive
service_account_file = /config/rclone/media-273211-7dd1eb9607c8.json
team_drive = 

[crypt_td1]
type = crypt
remote = td1:cache/secure
filename_encryption = standard
directory_name_encryption = true
password = 
password2 = 

##########  ##########  ##########
##########  ##########  ##########
[f1]
type = drive
scope = drive
service_account_file = /config/rclone/media-273211-7dd1eb9607c8.json
team_drive = 

[crypt_f1]
type = crypt
remote = f1:cache/secure
filename_encryption = standard
directory_name_encryption = true
password = 
password2 = 

##########  ##########  ##########
##########  ##########  ##########
[tv1]
type = drive
scope = drive
service_account_file = /config/rclone/media-273211-7dd1eb9607c8.json
team_drive = 

[crypt_tv1]
type = crypt
remote = tv1:cache/secure
filename_encryption = standard
directory_name_encryption = true
password = 
password2 =

############################################################  #################### Local Mounts ##########################  ############################################################
# LocalMount #
[local]
type = local

##########
# Union Mount #
[media]
type = union
#remotes = crypt_f1: crypt_tv1: crypt_td1: local:local
remotes = crypt_f1: crypt_tv1: crypt_td1: /data/local

Can you include a debug log with -vv of when you try the delete?

Sorry for the delay Monday - Got over run at work

thanks

I did rebuild the OS and now
the docker IDs are 1001 rather than 1000 not sure if that is it?

2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: >Lookup: node=plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt, err=<nil>
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt: Attr: 
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt: >Attr: a=valid=1s ino=0 size=147847 mode=-rw-r--r--, err=<nil>
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: Remove: name="The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt"
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt: File.Remove file error: permission denied
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: >Remove: err=operation not permitted
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: Remove: name="The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt"
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt: File.Remove file error: permission denied
2020/06/15 19:51:27 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: >Remove: err=operation not permitted
2020/06/15 19:51:28 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: Remove: name="The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt"
2020/06/15 19:51:28 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/The Hitman's Bodyguard (2017).eng [The Hitman's Bodyguard Collection] [UHD HDR WS AC3 6ch] [H.264 BluRay] 79.2 Mbps.srt: File.Remove file error: permission denied
2020/06/15 19:51:28 DEBUG : plex/Movies/The Hitman's Bodyguard (2017).eng/: >Remove: err=operation not permitted```

just in case anyone else comes across this.
I had completely set up the union mount incorrectly

1 Like

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