When creating a temporary directory for extracting an archive, always clear
commit0ff1645525990c38f438b80ee957d27360af8ddb
authorThomas Leonard <talex5@gmail.com>
Wed, 13 Jun 2007 17:14:51 +0000 (13 17:14 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
treee1b374f918271744bfc340d79230c17490ca5222
parent682d53ae2218bfebee8037a05c23c85471555c75
When creating a temporary directory for extracting an archive, always clear

any special bits. Otherwise, if the parent is set-guid then the tmp directory
will be too, and the post-extraction check will fail because the permissions
are wrong (reported by Markus Kiefer).

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1872 9f8c893c-44ee-0310-b757-c8ca8341c71e
tests/testunpack.py
zeroinstall/zerostore/__init__.py