]> arthur.barton.de Git - bup.git/commitdiff
Don't specify 0700 permissions when creating initial directories.
authorRob Browning <rlb@defaultvalue.org>
Mon, 24 Jan 2011 03:08:42 +0000 (21:08 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 24 Jan 2011 03:08:42 +0000 (21:08 -0600)
lib/bup/metadata.py

index 8787b4586e24ec914767a1a1ad6055b102c2d470..a6b85f544bac6001d23b811309fbf7b0376f3f53 100644 (file)
@@ -589,11 +589,11 @@ def _set_up_path(meta, create_symlinks=True):
     # Allow directories to exist as a special case -- might have
     # been created by an earlier longer path.
     if meta.isdir():
-        mkdirp(meta.path, 0700)
+        mkdirp(meta.path)
     else:
         parent = os.path.dirname(meta.path)
         if parent:
-            mkdirp(parent, 0700)
+            mkdirp(parent)
             meta.create_path(meta.path, create_symlinks=create_symlinks)