When I used linux servers for sharing via SMB, I use the recycle function of samba:
vfs objects = recycle
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~??
recycle:excludedir = /tmp /temp /cache
recycle:repository = Trash
recycle:keeptree = Yes
(and create the /shares/xxx/Trash folder)
I can add this to the WD Mybook configuration by direct editing /etc/samba/overall_share but the configuration is removed every time someone edits the share thfough the web.
¿Is there any way to enable this function without this problem?