Skip to content

Commit

Permalink
Disable add_permissions when s3 fuse mount
Browse files Browse the repository at this point in the history
  • Loading branch information
tcassaert committed Jul 9, 2024
1 parent 18c975a commit 4aea4a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openeogeotrellis/deploy/batch_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def _create_job_dir(job_dir: Path):
except PermissionError as e:
logger.warning(f"Could not change group of {job_dir} to eodata, no permissions.")

add_permissions(job_dir, stat.S_ISGID | stat.S_IWGRP) # make children inherit this group
if not get_backend_config().fuse_mount_batchjob_s3_bucket:
add_permissions(job_dir, stat.S_ISGID | stat.S_IWGRP) # make children inherit this group


def _parse(job_specification_file: str) -> Dict:
Expand Down

0 comments on commit 4aea4a1

Please sign in to comment.