Per default, if you create a smb share, you will get a “Are you sure you want to copy this file without its properties?" ("Wollen Sie die Datei wirklich ohne Eigenschaften kopieren" in German version) warning from Windows clients.
To get rid of that, the
line can be addet to the extended options of each share.
The problem is, that this will break the recycler feature of the share.
To keep the the redycler functionality, you have to add the following code to the extended options of each share:
vfs objects = recycle acl_xattr streams_xattr
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
recycle:exclude =
recycle:exclude_dir =
recycle:maxsize = 0
This also works if the on-switch in the recycler section of the share is not set.
But if this is the case, you will have to empy your recycler folders by hand.
If the "enable recycyler" switch is enabled, the automatic mode of emtying the trash works fine (with the posted code), but the maximumfilesize entry has no effect. If a filesize restriction is wanted, this has to be set in line 10 of the posted code (value in bytes, 0 for no limit, see vfs_recycle).
Feature request:
It would be fine if the "acl_xattr" and "streams_xattr" would be added to the "vfs objets = ..." line of the automatic created entry of the recycler, even better switches for the addtional vfs modules or a free editable line.
Reason for the problem is, that a new line of vfs objects = ... overrides the first line.
(I don't know were to start a bufgix / feature request)
For the fix of the “Are you sure you want to copy this file without its properties?" ("Wollen Sie die Datei wirklich ohne Eigenschaften kopieren" in German version) message in openmediavault 2, you have to add the line
in the extended options section of services->SMB/CIFS.