Permissions directory

This commit is contained in:
resteve 2015-01-14 18:20:51 +01:00
parent 394d2cfd30
commit 839806a7d4
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class GalateaTeam(ModelSQL, ModelView):
filename = os.path.join(directory, digest)
if not os.path.isdir(directory):
os.makedirs(directory, 0770)
os.makedirs(directory, 0774)
os.umask(0022)
with open(filename, 'wb') as file_p:
file_p.write(value)