Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35809

Tarfile and usernames

Date 2012-12-30 18:57 +0000
Subject Tarfile and usernames
From Nicholas Cole <nicholas.cole@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1469.1356893859.29569.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Dear List,

I'm hoping to use the tarfile module in the standard library to move some
files between computers.

I can't see documented anywhere what this library does with userids and
groupids.  I can't guarantee that the computers involved will have the same
users and groups, and would like the archives to be extracted so that the
files are all owned by the extracting user.

Essentially, I do *not* with to preserve the owner and groups specified in
the archives.

What is the right way to achieve this?

Best wishes,

Nicholas

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Tarfile and usernames Nicholas Cole <nicholas.cole@gmail.com> - 2012-12-30 18:57 +0000
  Re: Tarfile and usernames Hans Mulder <hansmu@xs4all.nl> - 2012-12-30 22:24 +0100

csiph-web