|
@@ -186,6 +186,8 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|
|
|
|
|
def do_extract(self, args):
|
|
|
"""Extract archive contents"""
|
|
|
+ # be restrictive when restoring files, restore permissions later
|
|
|
+ os.umask(0o077)
|
|
|
repository = self.open_repository(args.archive)
|
|
|
manifest, key = Manifest.load(repository)
|
|
|
archive = Archive(repository, key, manifest, args.archive.archive,
|