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

Startup: Incorrect error if user running Stash does not have Modify permission on STASH_HOME

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • 1.2.0
    • 1.0, 1.1
    • None
    • None

      On Win7:

      Configure STASH_HOME as "c:\Test"
      Create a directory "C:\Test"
      Create another user "B" (that is also an admin)
      Grant "Read", "Read & execute", "Write" to user "B" (admin)
      Launch a new command prompt with "run as user B"
      Run start-stash.bat

      Expected:
      <I am not sure what error message to expect from http://confluence.atlassian.com/display/STASHKB/Stash+Home+%5B%3CSTASH_HOME%3E%5D+cannot+be+created>

      Actual:
      The database, as currently configured, is not accessible.

      Notes:

      • Error goes away and Stash starts successfully once "Modify" permission is granted to user "B"
      • Note that the error does not mention what was the STASH_HOME directory, nor a link to help.

        1. 1.png
          1.png
          352 kB

              pepoirot Pierre-Etienne Poirot (Inactive)
              farmas Federico Silva Armas [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: