]> arthur.barton.de Git - bup.git/commit
metadata.py: be careful with the umask() when restoring symlinks.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:45:32 +0000 (03:45 -0700)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Mar 2011 10:56:08 +0000 (03:56 -0700)
commitc574c8c12ea39a2413f88e7a51c25838230c6bd2
tree4f507005c32bfb4b0008b499ebf231acd48d26d0
parent180a8472eaa735646bfb87215ff001b905a5909c
metadata.py: be careful with the umask() when restoring symlinks.

On MacOS, the umask affects symlink permissions, although not in any sort of
useful way that I can see.  Still, getting the permissions wrong breaks the
unit tests, so let's be careful about it.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/metadata.py