Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8641

Improve configdump error message when write access is denied

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.3.1, EJBCA 7.3.0.1
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Review
    • Sprint:
      EJBCA Team Bob - 2019 w42

      Description

      Configdump just prints an undescriptive error (and stack trace in 7.3.0) when the permissions on the destination directory does not allow the appserver to write to it, for example:

      Export failed with errors: An error occurred while exporting EEPROFILE with name 'SomeProfile': /home/user/dump/end-entity-profiles
      

      This error message should say that access was denied.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrey_helmes Andrey Sergeev (Inactive)
              Reporter:
              samuel Samuel Lidén Borell
              Verified by:
              Henrik Sunmark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 45 minutes
                  45m
                  Remaining:
                  Remaining Estimate - 45 minutes
                  45m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified