]> code.delx.au - mediapc-tools/commitdiff
mythsymlink: umask
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 1 Oct 2020 14:34:32 +0000 (00:34 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 1 Oct 2020 14:34:32 +0000 (00:34 +1000)
mythsymlink

index b2c7d6bdc440c0ea3b3907e7bd11f4d0f476de90..f0fdfcce2fb09f0f0dbcd85c0a928588ba612946 100755 (executable)
@@ -15,6 +15,7 @@ def main():
     symlinks_dir = recordings_dir + "-symlinks"
 
     os.chdir(symlinks_dir)
+    os.umask(0o22)
 
     clean_dir()