Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Create missing directories required by the agent #105

Closed
siegfriedweber opened this issue Mar 10, 2021 · 0 comments · Fixed by #274
Closed

Create missing directories required by the agent #105

siegfriedweber opened this issue Mar 10, 2021 · 0 comments · Fixed by #274
Assignees
Labels
Milestone

Comments

@siegfriedweber
Copy link
Member

siegfriedweber commented Mar 10, 2021

The following directories should be created if they are missing:

  • config
  • data
  • log
  • package
  • directory of the certificate file if the file does not exist
  • directory of the key file if the file does not exist

The directories should be created with the default mask. The only security relevant file for now (!) is the private key file which is already created with proper access rights (see #235).

If a directory was created then an information should be logged. If the creation failed then an error should be logged but the process should not terminate because this does not necessarily pose a problem later.

The creation must be performed before the accessibility of the directories is checked (see #45).

As next steps, missing directories required by the services/operators could be created (see #271) and the ownership of the newly created directories and the existing ones should be adapted (see #269).

@siegfriedweber siegfriedweber added the type/enhancement New feature or request label Mar 10, 2021
@lfrancke lfrancke removed the size/M label May 25, 2021
@lfrancke lfrancke added this to the Release #1 milestone Aug 10, 2021
@siegfriedweber siegfriedweber changed the title Create missing directories and/or assign the correct ownership Create missing directories Aug 25, 2021
@siegfriedweber siegfriedweber changed the title Create missing directories Create missing directories required by the agent Aug 25, 2021
@siegfriedweber siegfriedweber self-assigned this Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants