diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2012-04-18 11:24:13 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2012-04-18 11:24:13 +0300 |
commit | 94e1bfc02f8883f8076f354fea7ee8acb24490c2 (patch) | |
tree | 1f0adb6b4c32305f976e515e57d31f87df7a633e /scripts | |
parent | cb7c37e6b0046b55be523a6e57bb9e6fac7dc702 (diff) |
Set write permission to the group (default umask is 022).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish_to_snapshots.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py index d53da06..9968919 100755 --- a/scripts/publish_to_snapshots.py +++ b/scripts/publish_to_snapshots.py @@ -189,6 +189,8 @@ class SnapshotsPublisher(object): try: if not os.path.isdir(target_dir_path): os.makedirs(target_dir_path) + # Set write permission to the group as default umask is 022 + os.chmod(target_dir_path, 0775) if not os.path.isdir(target_dir_path): raise OSError |