GitHub user bhaisaab opened a pull request:
https://github.com/apache/cloudstack/pull/1420
systemvm: preserve file permissions, set default umask
- In injectkeys.sh which is used to inject new public keys everytime
cloudstack
starts; while copying files preserve the mode/ownership. This ensures the
scripts have same mode bits as originally configured in the iso file
- The default umask of 0022 is set in Ubuntu and other packages. Set the
same
in case of CentOS startup scripts
cc @abhinandanprateek @wido @remibergsma @DaanHoogland @jburwell
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shapeblue/cloudstack injectsh-umaskfix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1420.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1420
----
commit 94cc56f1a28498dcd221b1fea29f7a8c7695b00b
Author: Rohit Yadav <[email protected]>
Date: 2016-02-19T12:50:37Z
systemvm: preserve file permissions, set default umask
- In injectkeys.sh which is used to inject new public keys everytime
cloudstack
starts; while copying files preserve the mode/ownership. This ensures the
scripts have same mode bits as originally configured in the iso file
- The default umask of 0022 is set in Ubuntu and other packages. Set the
same
in case of CentOS startup scripts
Signed-off-by: Rohit Yadav <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---