Skip to content

Commit 99437b2

Browse files
authored
Fix permissions on built file (#23682)
1 parent ea465a2 commit 99437b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def azure_pet_build_after(session: nox.Session):
8080
shutil.copyfile(abs_bin_path, bin_dest)
8181

8282
if sys.platform != "win32":
83-
shutil.chown(bin_dest, 0o755)
83+
os.chmod(os.fspath(bin_dest), 0o755)
8484

8585

8686
@nox.session()

0 commit comments

Comments
 (0)