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
useradd stash
3. chown -R stash:stash <stash installation directory>
4. chown -R stash:stash <stash home directory>
5. Start Stash
Thanks