Forest
01910ad12f
utils: Unmap the old summary.idx file before trying to replace it
...
Exporting to an existing repo on a Samba filesystem failed with EACCES
when libglnx called renameat() to replace the old summary.idx file.
error: renameat: Permission denied
This occurred even when the user had appropriate permissions to the file
and its ancestor directories. The problem was that flatpak had mapped the
old file into memory for reading, and still held a reference to that mapping
when attempting to replace the underlying file. Apparently this works on some
filesystems, but not on cifs.
We therefore release the memory mapping before replacing the underlying file.
Fixes #5257
Co-authored-by: Patrick <tingping@tingping.se >
2023-01-22 19:21:36 -06:00
..
2019-10-03 10:42:04 +02:00
2022-08-22 19:48:10 -07:00
2019-12-19 10:33:21 +01:00
2022-08-22 19:48:10 -07:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2022-12-15 16:45:35 +00:00
2019-09-19 16:53:11 +00:00
2019-09-19 16:53:11 +00:00
2021-01-12 09:55:23 +01:00
2022-08-16 13:29:06 +02:00
2023-01-12 15:13:34 +00:00
2022-08-16 10:37:36 +02:00
2022-12-19 19:15:23 +00:00
2022-09-07 09:21:58 +02:00
2022-09-07 09:21:58 +02:00
2019-02-25 18:12:30 +00:00
2021-02-09 09:36:59 +01:00
2023-01-12 15:13:34 +00:00
2023-01-12 15:13:34 +00:00
2019-10-02 14:57:11 +02:00
2022-12-15 16:45:35 +00:00
2021-06-14 15:30:59 +01:00
2020-11-05 10:43:10 +01:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2022-12-15 16:45:35 +00:00
2021-02-12 15:58:09 +01:00
2020-06-05 09:35:30 +02:00
2022-08-22 19:48:10 -07:00
2018-08-09 12:49:36 +00:00
2022-08-22 19:48:10 -07:00
2022-06-16 13:49:45 +02:00
2022-12-15 16:45:35 +00:00
2019-10-03 10:42:04 +02:00
2022-12-15 16:45:35 +00:00
2018-04-26 07:41:17 +00:00
2019-12-01 14:04:59 -05:00
2020-03-27 17:23:13 +01:00
2022-12-15 16:45:35 +00:00
2021-04-26 10:30:14 +02:00
2022-12-15 16:45:35 +00:00
2022-02-17 08:29:20 -06:00
2022-08-22 19:48:10 -07:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2020-03-23 17:58:04 +01:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2020-03-25 08:52:28 +01:00
2020-11-05 10:43:10 +01:00
2022-12-15 16:45:35 +00:00
2021-02-12 15:58:09 +01:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2022-04-11 10:32:34 +02:00
2022-12-15 16:45:35 +00:00
2021-10-08 12:53:20 +02:00
2021-05-19 09:49:30 +02:00
2022-12-15 16:45:35 +00:00
2022-06-15 16:44:17 -07:00
2022-09-06 13:20:05 +02:00
2022-09-07 09:21:19 +02:00
2020-12-09 08:34:19 +01:00
2022-08-22 19:48:10 -07:00
2022-06-16 13:49:45 +02:00
2022-12-15 16:45:35 +00:00
2022-12-19 19:15:23 +00:00
2023-01-22 19:21:36 -06:00
2019-12-02 07:45:51 -05:00
2020-06-05 09:35:30 +02:00
2020-06-05 09:35:30 +02:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2022-10-24 16:12:14 +01:00
2022-10-24 16:12:14 +01:00
2022-04-11 10:32:34 +02:00
2019-04-08 12:50:42 +00:00