From 62a817fef3dbdec01c300c6fd6a2bc544c67c2fb Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 23 Jul 2014 12:25:06 +0200 Subject: [PATCH] Hardcode mkdir mode --- vdirsyncer/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/cli.py b/vdirsyncer/cli.py index b500f07..bad5fb7 100644 --- a/vdirsyncer/cli.py +++ b/vdirsyncer/cli.py @@ -106,7 +106,7 @@ def save_status(path, status_name, status): 'user. If you think this is an error, please file ' 'a bug at {}'.format(base_path, PROJECT_HOME)) if not os.path.exists(base_path): - os.makedirs(base_path) + os.makedirs(base_path, 0o750) with open(full_path, 'w+') as f: for k, v in status.items():