Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-3088

Add a note about running stash with a dedicated user on *nix platform to the installation docs

    XMLWordPrintable

Details

    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      The supported platforms page states that:

      If you are using Linux/UNIX: A dedicated user should be created to run Stash, as Stash runs as the user it is invoked under and therefore can potentially be abused.
      Here is an example of how to create a dedicated user to run Stash in Linux:
      $ sudo /usr/sbin/useradd --create-home --home-dir /usr/local/Stash --shell /bin/bash Stash

      This should be part of the normal installation process and integrated into:
      https://confluence.atlassian.com/display/STASH/Installing+Stash+on+Linux+and+Mac

      Also a good idea to change the default umask to 077 for the user so that file isn't being read by every one

      Attachments

        Activity

          People

            Unassigned Unassigned
            asridhar AjayA
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: