Skip to content

Commit 5fb2af1

Browse files
authored
Update linker.py
1 parent 14ed618 commit 5fb2af1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

linker.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ def detector_mapping(detector):
2323
else:
2424
return None
2525

26-
def chmod_and_chown(path, *, uid=None, gid=None, mode=0o770):
26+
def chmod_and_chown(path, *, uid=None, gid=None, mode=0o775):
2727
os.chmod(path, mode)
28-
if uid is not None and gid is not None:
29-
os.chown(path, uid, gid)
28+
29+
# The following needs to be tested more; Prefect worker account doesn't have permissions to chown
30+
#if uid is not None and gid is not None:
31+
# os.chown(path, uid, gid)
3032

3133
@task
3234
def create_symlinks(ref):

0 commit comments

Comments
 (0)