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


Groups > comp.lang.python > #35809

Tarfile and usernames

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <nicholas.cole@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.042
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; '*not*': 0.07; 'extracted': 0.07; 'preserve': 0.09; 'library': 0.15; 'archives.': 0.16; 'tarfile': 0.16; 'documented': 0.17; 'module': 0.19; 'specified': 0.23; 'user.': 0.23; 'message-id:@mail.gmail.com': 0.27; 'this?': 0.28; 'received:209.85.212': 0.28; 'archives': 0.29; "i'm": 0.29; 'anywhere': 0.33; 'wishes,': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'does': 0.37; 'received:209': 0.37; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'list,': 0.39; 'header:Received:5': 0.40; 'between': 0.63; 'dear': 0.66; 'computers': 0.69; 'hoping': 0.72; 'computers.': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=28efBfh2qGSVJKNq3OvwWTMMZRw5E5WB+GpfrR86vZE=; b=EFlqHU+fzbKmGAH33oxA7TCBubgTWUjVIoW1S+Y3TgHaAs/VXE9rQwZ66dzpnVwA5a lU+AsZV9OW7WIzUNNy2mFb5nxP3QpAU0JOJ9LWaFd95t/q0I6+CGBU5MObT+ixlF6h6+ FNMmWQa2kyNQxXZrSrEHy2wUmgaJaP8+TdjFQTHHrglnKgO85dCBgwRzGB5c/OK6Vie8 H9aYQo1Ezvcr/gJ5Qs3RxdDmtRgV9xwF2teCogtSxqXqK/C6a7DmvWYfUN+3KhGJjliE EtsP/Brx5bLH+Uj8vxtDMaanDwmvIiR3k1dAW6TEsU1kl6bYZDB9NEioSwrOskObr+/8 xwTA==
MIME-Version 1.0
Date Sun, 30 Dec 2012 18:57:31 +0000
Subject Tarfile and usernames
From Nicholas Cole <nicholas.cole@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=20cf3079b75e02b2f404d21678c1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1469.1356893859.29569.python-list@python.org> (permalink)
Lines 40
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356893859 news.xs4all.nl 6961 [2001:888:2000:d::a6]:49891
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35809

Show key headers only | 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