Control: -1 fixed-upstream Reassign: -1 libkf5kiocore5 This is unrelated to the LO issue.
The fix for this issue is 3e6800b37 and 48322f443 upstream (One fixes a crash the other one introduces) Once we get a new KF5 in, this should be fixed. /Sune On Friday, April 26, 2024 10:36:42 AM CEST Andreas B. Mundt wrote: > Hi, > > here are parts of the strace, one with a samba share where the archive > is removed, and one with a ksmbd share which works fine: > > samba: > > [pid 101820<ark>] poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, > events=POLLIN}, {fd=14, events=POLLIN}], 4, 473 <unfinished ...> [pid > 101840<Kerfuffle::Job:>] write(23, > "\37\213\10\0TS+f\0\3\355Zy<T{\377G\224\306V\332\220r\262\20403\366\235\354 > K"..., 5694) = 5694 [pid 101840<Kerfuffle::Job:>] lseek(23, 0, SEEK_SET) = 0 > [pid 101840<Kerfuffle::Job:>] fdatasync(23) = 0 > [pid 101840<Kerfuffle::Job:>] close(23) = 0 > [pid 101840<Kerfuffle::Job:>] rename("/media/samba/test.tar.gz.PywIFJ", > "/media/samba/test.tar.gz") = -1 EACCES (Permission denied) [pid > 101840<Kerfuffle::Job:>] unlink("/media/samba/test.tar.gz.PywIFJ") = 0 [pid > 101840<Kerfuffle::Job:>] write(5, "\1\0\0\0\0\0\0\0", 8) = 8 > [pid 101840<Kerfuffle::Job:>] write(5, "\1\0\0\0\0\0\0\0", 8 <unfinished > ...> [pid 101820<ark>] <... poll resumed>) = 1 ([{fd=5, revents=POLLIN}]) > > The rename fails (samba lock?) and then the temporary archive is > removed. > > ksmbd: > > [pid 101861<ark>] poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, > events=POLLIN}, {fd=14, events=POLLIN}], 4, 7 <unfinished ...> [pid > 101881<Kerfuffle::Job:>] <... fdatasync resumed>) = 0 > [pid 101881<Kerfuffle::Job:>] close(23) = 0 > [pid 101881<Kerfuffle::Job:>] rename("/media/ksmbd/test.tar.gz.DRmBuC", > "/media/ksmbd/test.tar.gz") = 0 [pid 101881<Kerfuffle::Job:>] write(5, > "\1\0\0\0\0\0\0\0", 8) = 8 > [pid 101861<ark>] <... poll resumed>) = 1 ([{fd=5, revents=POLLIN}]) > > Here the rename succeeds and things work as expected. > Looks like the same problem as discussed in [1]. > > Best regards, > > Andi > > [1] https://bugs.documentfoundation.org/show_bug.cgi?id=55004#c56 -- I didn’t stop pretending when I became an adult, it’s just that when I was a kid I was pretending that I fit into the rules and structures of this world. And now that I’m an adult, I pretend that those rules and structures exist. - zefrank