tar (1.24-2) unstable; urgency=low
- * upstream patch to fix extraction of of empty directories with -C,
+ * upstream patch to fix extraction of empty directories with -C,
closes: #602209.
+ * upstream patch to fix extraction of device nodes, closes: #602184.
- -- Carl Worth <cworth@cworth.org> Sat, 06 Nov 2010 12:51:16 -0700
+ -- Carl Worth <cworth@cworth.org> Sat, 06 Nov 2010 12:52:50 -0700
tar (1.24-1) unstable; urgency=low
extract_node (char *file_name, int typeflag)
{
bool interdir_made = false;
- mode_t mode = (current_stat_info.stat.st_mode & MODE_RWX
+ mode_t mode = (current_stat_info.stat.st_mode & (MODE_RWX | S_IFBLK | S_IFCHR)
& ~ (0 < same_owner_option ? S_IRWXG | S_IRWXO : 0));
while (mknodat (chdir_fd, file_name, mode, current_stat_info.stat.st_rdev)