Skip to content

Conversation

@dfangl
Copy link
Member

Motivation

This should resolve Permission denied errors we were seeing when people, most notably on non-unix platforms, uploaded lambda zip files without executable permissions on the bootstrap file.

Changes

  • If a bootstrap file (no distinction which, but the default ones in the image should always be executable) is not executable, it will set the permissions to 755, to ensure it executable under all users. If this is not possible, it will log a warning.

Copy link
Member

@dominikschubertdominikschubert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dfangldfangl merged commit e4d28d8 into localstackJul 6, 2023
@dfangldfangl deleted the set-bootstrap-executable branch July 6, 2023 19:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@dfangl@dominikschubert