Open ypsu opened 4 years ago
Ok hmm, so dir/f2 have been copied to the rw layer and the rename only touches that layer. The correct behavior probably would be to copy over the remaining files on rename. Bailing out might be an option, but I don't know if this wouldn't break things like systemd.
Thanks for the pointers, I think #25 is related. I need to go through all the git issues, I'm just as time limited as usual. I will try to fix this issue here during the next days.
Thanks, Bernd
Here's a repro:
The second
ls
doesn't showf1
andf3
, onlyf2
that I have modified. The most annoying thing is that this happens completely silently, one has to be lucky to notice such file disappearance. Not sure I understand how complicated the problem is, but I'd be happy if such a rename would just error out rather than work erroneously. :(I've checked previous issues (#23, #25, #27) but I couldn't really tell if it's the same problem or not so I thought I create a separate issue for this.