On Sun, 30 Dec 2012 19:57:31 +0100, Nicholas Cole <nicholas.c...@gmail.com> wrote:

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.

As long as you don't extract as root, doesn't extracting set the extracting user's uid/gid anyway?

Regards,

Michael


What is the right way to achieve this?

Best wishes,

Nicholas




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to