[Samba] samba recycle - modified files going into repository

rl samba at tux4you.de
Thu Apr 16 10:50:59 UTC 2020


hi rowland and thank you ... banging my head against the wall.

you are right.
i tested with plasma kwrite and this is doing, as you said.
i also testet photoshop and i see the same.
after that, i used "the great" paint and no files where moved to recycle.

dammit never thought about this.

thanks a lot an "stay at home" ... strange time

kind regards,
ronny

On Thursday, 16 April 2020 10:55:16 CEST Rowland penny via samba wrote:
> 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.
> 
> Rowland







More information about the samba mailing list