Trash/Recycle Bin structure for remote volumes
Hello forum,
I am running Samba to share a large volume over a 10Gb network connection. I edit photos and videos off this share and also have a Windows host that uses this share on occasion, hence my need for Samba.
I would like to know what the directory and permission structure MacOS is looking for on this share in terms of a Recycle Bin or Trash folder. I have my share configured as follows:
[argon]
path = /mnt/argon
writable = yes
guest ok = yes
recycle:exclude_dir = .recycle
recycle:touch = Yes
recycle:versions = Yes
recycle:keeptree = Yes
recycle:directory_mode = 2775
recycle:repository = .recycle/%U
When I delete a file on my Mac, the file is correctly moved to .recycle/<username>/old-directory-structure. However, my Mac does not believe this share has a Recycle Bin. When deleting photos from Lightroom, I am prompted with the following:
So my question is, what is the proper way to configure the Recycle Bin path and permissions to eliminate this error message from appearing?
MacOS Ventura 13.1
# samba -V
Version 4.13.13-Debian
# zfs -V
zfs-2.1.7-pve3
zfs-kmod-2.1.7-pve3
# zfs get xattr
NAME PROPERTY VALUE SOURCE
argon xattr sa local
MacBook Pro 16″, macOS 13.1