Skip to content

Check if zowe.*Directory is not nested in zowe.runtimeDirectory #243

Description

@Martin-Zeithaml

Schema validation is checking, if the directories used for Zowe are valid USS paths. But that's not sufficient, user can define e.g. zowe.logDirectory (or other directories) "inside" zowe.runtimeDirectory.
This is not good for couple reasons:

  • We recommend to set zowe.runtimeDirectory as read-only
  • zwe support will detect new files when calculating fingerprints
    • This is reported even the original files are fine

Such setting should invoke (at least) a warning:

zowe:
  runtimeDirectory: /global/zowe
  logDirectory: /global/zowe/logs
  workspaceDirectory: /global/zowe/workspace
  extensionDirectory: /global/zowe/extensions

There are more directories used, like java, node, certificates, but the check for the directories in the example should be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions