Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node-lambda loses file permissions #355

Open
ARAtlas opened this issue Jul 13, 2017 · 5 comments
Open

Node-lambda loses file permissions #355

ARAtlas opened this issue Jul 13, 2017 · 5 comments

Comments

@ARAtlas
Copy link

ARAtlas commented Jul 13, 2017

I have a lambda function that processes MP3s. One of the files in my project is an FFMPEG binary which requires execute permissions so that my Node code can execute it. The binary has the needed permissions on my local computer, and everything works locally, but when I use node-lambda to deploy to AWS the permissions are lost (the binary ends up with just read permission) so it can't be executed. I'm able to work around the issue by zipping this project by hand and uploading the ZIP file to AWS the old fashioned way--the needed file permissions are preserved when I ZIP it by hand.

@abetomo
Copy link
Contributor

abetomo commented Jul 14, 2017

@ARAtlas What version of node-lambda do you use?

@demian85
Copy link

Something similar is happening to me... I cannot npm install because I lack write permissions somewhere. Using v0.11.3

@abetomo
Copy link
Contributor

abetomo commented Jul 19, 2017

@demian85
The ARAtlas problem looks like #333.
However, I thought that the problem of @demian85 is different from that.
Could you please tell us a little more?

@ARAtlas
Copy link
Author

ARAtlas commented Jul 19, 2017

Sorry for the delay. I was using v0.11.0. I agree that my problem sounds like #333.

@abetomo
Copy link
Contributor

abetomo commented Jul 20, 2017

@ARAtlas
Thank you for your reply.
If I had the same problem as #333, I think that the latest version has been solved, so can you try it?
(The latest is 0.11.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants