Skip to content

Commit 340e698

Browse files
committed
Set file permissions
1 parent cb99cd7 commit 340e698

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build_lambda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def make_archive(src_dir, output_path):
4949
metadata = zipfile.ZipInfo(
5050
os.path.join(root, file).replace(src_dir, '').lstrip(os.sep)
5151
)
52+
metadata.external_attr = 0o755 << 16
5253
with open(os.path.join(root, file), 'rb') as f:
5354
data = f.read()
5455
archive.writestr(

0 commit comments

Comments
 (0)