Tim Kientzle
d21d99e07e
Reading an mtree file is supposed to provide
...
access to the file data (if the file exists on
disk). This was broken for the first regular
file; fix it and add a test so it won't break again.
In particular, this fixes the following idiom for creating
a tar archive in which every file is owned by root:
tar cf - --format=mtree . \
| sed -e 's/uname=[a-z]*/uname=root/' -e 's/uid=[0-9]*/uid=0/' \
| tar cf - @-
2009-04-26 18:57:50 +00:00
..
2008-12-23 22:50:39 +00:00
2009-02-21 15:04:31 +00:00
2008-03-12 11:58:29 +00:00
2009-04-26 18:57:50 +00:00
2008-12-31 11:12:24 +00:00
2009-04-22 15:50:03 +00:00
2009-04-19 16:17:13 +00:00
2009-04-26 10:12:20 +00:00
2009-02-13 16:51:36 +00:00
2008-10-27 21:46:58 +00:00
2009-02-26 17:46:54 +00:00
2009-02-09 21:34:06 +00:00
2008-05-22 02:14:23 +00:00
2009-03-12 04:44:09 +00:00
2008-05-08 14:01:42 +00:00
2008-12-17 18:00:18 +00:00
2008-05-08 20:05:30 +00:00
2008-09-08 06:27:00 +00:00
2008-08-06 14:02:05 +00:00
2009-02-13 16:51:36 +00:00
2009-04-06 21:52:10 +00:00
2009-01-02 03:38:21 +00:00
2009-01-09 11:45:13 +00:00
2009-02-26 21:43:15 +00:00
2009-02-17 16:35:19 +00:00
2009-03-22 01:24:32 +00:00
2009-03-24 22:35:05 +00:00
2008-11-05 19:35:43 +00:00
2008-11-03 10:38:00 +00:00
2009-02-26 20:32:11 +00:00
2008-08-15 21:08:48 +00:00
2008-03-19 00:06:30 +00:00
2009-03-31 14:30:46 +00:00
2009-02-26 21:43:15 +00:00
2009-04-19 23:02:50 +00:00
2009-03-05 18:27:16 +00:00
2009-04-02 17:16:39 +00:00
2009-04-05 18:30:24 +00:00
2009-02-27 15:30:42 +00:00
2008-12-27 11:12:23 +00:00
2009-03-14 18:58:53 +00:00
2008-11-15 09:23:48 +00:00
2009-03-09 17:38:14 +00:00