Skip to content

Commit 5a507e9

Browse files
committed
Create attachment directories with 0755 permissions
1 parent 8c174e8 commit 5a507e9

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
@@ -143,7 +143,7 @@ def save_attachment(self, dataset, file, fields):
143143

144144
# create target dir
145145
target_dir = os.path.dirname(target_path)
146-
os.makedirs(target_dir, 0o750, True)
146+
os.makedirs(target_dir, 0o755, True)
147147

148148
# save attachment file
149149
file.save(target_path)

0 commit comments

Comments
 (0)