stackabletech / agent

Stackable Agent - a kubelet written in Rust which uses systemd as its backend
Apache License 2.0
15 stars 9 forks source link

Adapt ownership of directories #269

Open siegfriedweber opened 3 years ago

siegfriedweber commented 3 years ago

:warning: TBD – not ready for work

The ownership of directories should be adapted so that the agent works out of the box where possible without compromising the security.

Scope

The ownership of the following directories should be adapted:

see also #20

Ownership

TBD: Who is responsible for defining the ownership (the agent, the operators, pre-defined, ...)? TBD: Which owners and groups should be assigned to every directory which is in scope of this issue? TBD: What should happen if the assignment fails, e.g. because the agent has no root privilege?

Non-existing users and groups

TBD: What should happen if non-existing users or groups should be assigned? Should they be created? What should happen if this fails?

see also #106