-
Notifications
You must be signed in to change notification settings - Fork 314
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Source permissions persist in build artifacts #4625
Comments
Am I right that this would be using the Node Scaffolding? If so, yep, we should be adding some group/other read/execute bits where appropriate. |
It's both scaffolding and regular plans. sample-node-app, sample-rails-app and the national-parks demos all failed without fixing the permissions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you. |
This issue has been automatically closed after being stale for 400 days. We still value your input and contribution. Please re-open the issue if desired and leave a comment with details. |
MacOS 10.13.3, Docker Version 18.02.0-ce-mac53 (22617)
For historical reasons I have
umask 077
in my.bashrc
and all files I check out from GitHub have permissions of600
by default. When I enter the studio and build packages, permissions on files in the package are not changed and root ownership is preserved. This means that the https://github.com/mattray/sample-node-app fails with the following error:Manually updating the source permissions to 755 and 644 where appropriate and rebuilding the packages results in working demos.
I would expect habitat to set ownership of the files to the
pkg_svc_user
The text was updated successfully, but these errors were encountered: