reassign 470494 python2.5
found 470494 2.5.2-10
retitle 470494 python2.5: doesn't use umask when extracting tarfile
thanks

Hi,

This was reported against bzr-builddeb, but it can be reproduced with
python's tarfile directly.

When tar extracts a file it applies the user's umask to it, unless
the user is root, i.e.

     --no-same-permissions
       apply umask to extracted files (the default for non-root users)


If the tarfile has 0777 permissions on the directories (as apparently
make dist creates), then that is how python2.5's tarfile will extract
them, but tar will usually not make them world writeable, due to the
user's umask. Perhaps python should do the same.

This is similar to

  http://bugs.python.org/issue1507247

but that was a different location in the code, and was closed long
ago.

Thanks,

James




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to