]> git.gag.com Git - debian/tar/commit
New options: --owner-map and --group-map.
authorSergey Poznyakoff <gray@gnu.org>
Mon, 2 Nov 2015 10:51:19 +0000 (12:51 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Mon, 2 Nov 2015 11:00:39 +0000 (13:00 +0200)
commit1a615a41f5e1c84b8386d2b524af9126ebb810b1
treeb5470ad9cf5314b82e486a136a497e4a31848af4
parentcdf41c383fb097220f9d52b39425a562035d85cb
New options: --owner-map and --group-map.

* NEWS: Update.
* doc/tar.1: Document --owner-map and --group-map
* doc/tar.texi: Likewise.

* src/map.c: New file.
* src/Makefile.am: Add map.c
* src/common.h (owner_map_read, owner_map_translate)
(group_map_read, group_map_translate): New protos.
* src/create.c (start_header): Use owner_map_translate
and group_map_translate to optionally translate user/group names/ids.
* src/tar.c: New options --owner-map and --group-map.

* tests/map.at: New file.
* tests/Makefile.am: Add map.at
* tests/testsuite.at: Include map.at.
NEWS
doc/tar.1
doc/tar.texi
src/Makefile.am
src/common.h
src/create.c
src/map.c [new file with mode: 0644]
src/tar.c
tests/Makefile.am
tests/map.at [new file with mode: 0644]
tests/testsuite.at