Skip to content

Commit 91052f0

Browse files
Set execute permission bit for copied App binary (#1185)
* Copy binary permission bits * Add news frag
1 parent 68d2b7f commit 91052f0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Copy permission bits for the copied binary in App.

testplan/testing/multitest/driver/app.py

+1
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ def binary(self) -> str:
300300

301301
if self.cfg.binary_strategy == "copy":
302302
shutil.copyfile(self.resolved_bin, target)
303+
shutil.copymode(self.resolved_bin, target)
303304
self._binary = target
304305
elif self.cfg.binary_strategy == "link" and not IS_WIN:
305306
os.symlink(os.path.abspath(self.resolved_bin), target)

0 commit comments

Comments
 (0)