Commit 115a884 zero umask before creating /tmp/rpkg, ad. #4a4311a

1 file Authored and Committed by clime 16 days ago
zero umask before creating /tmp/rpkg, ad. #4a4311a

    
 1 @@ -24,7 +24,9 @@
 2               self.ns_module_name = config['rpkg'].get('module_name', None)
 3   
 4           if not os.path.isdir(self.base_output_path):
 5 +             prev_umask = os.umask(0)
 6               os.makedirs(self.base_output_path, mode=0o1777)
 7 +             os.umask(prev_umask)
 8   
 9           super(rpkgClient, self).__init__(config, name)
10