[Samba] samba recycle - modified files going into repository

Rowland penny rpenny at samba.org
Thu Apr 16 08:55:16 UTC 2020

On 16/04/2020 09:18, rl via samba wrote:
> i setup samba 4.9.5+dfsg-5+deb10u1 (debian10) with vfs recycle.
> now:
> - i create an file (maybe simple txt), edit, save -> ok
> - i open the file again an save -> copy of the file goes to recycle repository
> - if i use recycle:versions = Yes, i got Copy # of ... everytime i save the
> file
> - evertime i save the file, the copy in the repo is updated
> my goal is, to use only the recycle, if something was deleted.
> did i miss something or is this a feature, a bug an issue ...

What program is opening the existing file ?

Some programs do this: they open an existing file as 
filename.some_extension, the filename.some_extension is what you alter 
and when you save it, the original file is deleted and 
filename.some_extension is renamed to 'filename'. So, in this case, 
recycle is just doing the correct thing.


More information about the samba mailing list