In our Linux production environment, Stash is running as user root. However, Atlassian recommends that, for production or enterprise environment, stash should be run from a dedicated user account stash.
Just wanted to check with the Atlassian experts, if the following procedure is correct to implement the above recommended method. Let me know, if there are any issues. if there is any Atlassian link where this exact procedure including commands described would also be useful.
1. Stop Stash
2. create stash user as follows
3. chown -R stash:stash <stash installation directory>
4. chown -R stash:stash <stash home directory>
5. Start Stash
Thanks for the quick response. Agreed that step 5 should run as stash user. Another question. After implementing the above said procedure, we got to validate the same to make sure that three is no impact to the users. What kind of testing do you suggest ? something like git clone or git push or anything else ? Please advise.
I'd try to:
That would test read, write and directory creation permissions.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot