Uploaded image for project: 'Backup'
  1. Backup
  2. MGNLBACKUP-118

Don't allow relative paths in the Backup app

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.2.2
    • None
    • None
    • Yes
    • Basel 133, Basel 134, Basel 135
    • 3

      When ran locally, the backup ends ends up in Tomcat's bin folder if the path is relative. On OS X the backup will be created but the user will not find it, on Linux the permissions will be missing.

      So it would be good to enforce an absolute path, and to also check for write permissions while we're at it.

      The check must be done in BackupExecutor and replicated in BackupPresenter (because the scheduled task configuration of the Backup app doesn't hit the executor directly).

        Acceptance criteria

              sgasa Saimir Gasa
              mmichel Maxime Michel
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD