Ludovic Courtès
72dc64f8f7
store-copy: Canonicalize the mtime and permissions of the store copy.
...
Fixes a bug whereby directories in the output of 'guix pack -f tarball'
would not be read-only.
* guix/build/store-copy.scm (reset-permissions): New procedure.
(populate-store): Pass #:keep-mtime? #t to 'copy-recursively'. Call
'reset-permissions'.
* tests/pack.scm ("self-contained-tarball"): In CHECK, define
'canonical?' and use it to check that every file has an mtime of 1 and
is read-only.
* tests/guix-pack.sh: Invoke "chmod -Rf +w" before "rm -rf" in trap.
2018-11-06 23:21:24 +01:00
..
2018-11-06 23:21:24 +01:00
2018-11-06 18:21:24 +01:00
2018-11-06 18:21:24 +01:00
2018-11-06 23:21:24 +01:00
2018-09-23 23:34:17 +02:00
2017-10-12 23:47:48 +02:00
2017-07-21 17:03:24 +02:00
2018-09-21 17:04:38 +02:00
2018-03-28 16:17:06 +02:00
2018-06-18 23:19:51 +02:00
2018-08-26 01:47:40 +02:00
2017-10-19 23:21:49 +02:00
2018-09-04 17:25:11 +02:00
2018-09-07 11:40:22 +02:00
2018-09-02 16:43:10 +02:00
2018-11-06 23:21:24 +01:00
2018-05-29 15:41:06 +02:00
2017-11-14 23:46:53 +01:00
2018-10-27 16:39:29 +02:00
2018-09-26 00:33:00 +02:00
2018-09-17 22:10:31 +02:00
2018-03-18 22:57:17 +01:00
2018-07-11 16:07:04 +02:00
2018-09-25 18:45:50 +02:00
2018-08-24 18:01:05 +02:00
2017-08-24 23:55:51 +02:00
2017-10-19 23:21:49 +02:00
2018-09-04 17:25:11 +02:00
2017-11-08 22:31:58 +01:00
2018-09-21 17:04:38 +02:00
2018-03-20 17:17:58 +01:00
2018-06-01 15:21:28 +02:00
2017-12-13 23:11:53 +01:00
2018-04-08 17:41:08 +02:00
2018-09-04 17:25:11 +02:00
2018-07-19 11:48:04 +02:00
2018-09-04 17:25:11 +02:00
2018-10-26 20:05:21 +02:00
2017-12-12 18:11:22 +01:00
2018-10-05 23:54:18 +02:00
2018-08-31 17:26:56 +02:00
2018-10-23 01:04:39 +02:00
2018-05-10 14:53:57 +02:00
2018-11-06 17:00:02 +01:00
2018-09-23 23:34:16 +02:00
2018-11-05 21:28:59 -05:00
2018-10-16 17:12:09 -05:00
2018-10-15 22:40:35 +02:00
2017-06-15 17:03:14 +02:00
2018-10-19 18:28:57 +02:00
2018-09-27 23:21:53 +02:00
2018-04-08 17:48:33 +02:00
2018-07-22 18:01:35 +02:00
2017-11-17 10:47:56 +01:00
2017-11-19 23:09:01 +01:00