[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Failure with --owner and --group when names cannot be mapped t
From: |
Thayne Harbaugh |
Subject: |
[Bug-tar] Failure with --owner and --group when names cannot be mapped to IDs |
Date: |
Mon, 8 Aug 2011 04:28:32 -0600 |
If the argument to the --owner or --group option is a name (not an ID) and
it fails look-up on the current system then GNU TAR refuses to create an
archive with the name. This seems like an artificial failure - it is
conceivable that an archive might be created on a system where a particular
owner or group does not exist and then unpack it elsewhere where the owner
or group does exist.
I noticed that someone else has logged this as a bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=136231
Attached is a patch that allows archives to be created with arbitrary owner
or group names. I'm more than happy to rework the patch for it to meet any
requirements for merging.
I am not subscribed to the list so please CC me with any comments.
owner_group.diff
Description: Text Data
- [Bug-tar] Failure with --owner and --group when names cannot be mapped to IDs,
Thayne Harbaugh <=