We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fca1bc commit d57cea4Copy full SHA for d57cea4
src/murfey/server/api.py
@@ -1164,9 +1164,9 @@ def suggest_path(visit_name, params: SuggestedPathParameters):
1164
count = count + 1 if count else 2
1165
check_path = check_path.parent / f"{check_path_name}{count}"
1166
if params.touch:
1167
- check_path.mkdir()
+ check_path.mkdir(mode=0o750)
1168
if params.extra_directory:
1169
- (check_path / secure_filename(params.extra_directory)).mkdir()
+ (check_path / secure_filename(params.extra_directory)).mkdir(mode=0o750)
1170
return {"suggested_path": check_path.relative_to(machine_config.rsync_basepath)}
1171
1172
0 commit comments