Skip to content

Commit 07078c3

Browse files
committed
Create attachment directories with 0755 permissions
1 parent 54ba08b commit 07078c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attachments_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def save_attachment(self, dataset, file, fields):
138138

139139
# create target dir
140140
target_dir = os.path.dirname(target_path)
141-
os.makedirs(target_dir, 0o750, True)
141+
os.makedirs(target_dir, 0o755, True)
142142

143143
# save attachment file
144144
file.save(target_path)

0 commit comments

Comments
 (0)