opensearch wrong permissions
Bug #2028376 reported by
Lukas Fichtner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Medium
|
Sven Kieske |
Bug Description
The opensearch file permissions still seems to be wrong. Is this a general problem or am I the only one with this problem?
issue from the last patch: https:/
last patch: https:/
How to reproduce:
Install the latest Version with "pip3 install --upgrade git+https:/
deploy/reconfigure with kolla-ansible
warning messages:
https:/
current file permissions:
https:/
description: | updated |
Changed in kolla-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
that's weird, afaik this permission get set upstream here:
https:/ /github. com/opensearch- project/ OpenSearch/ blob/611ecc2ad5 0c7e1833e7fe8ef 2a6cabeb6028c57 /distribution/ packages/ build.gradle# L216C15- L216C20
``` "${packagingFil es}") {
from(
dirMode 02750
into('/etc')
```
dirMode should be calculated - speculating here, because I don't know much about gradles usage of the "ospackage" lib here and how that works - like chmod manpage[0] claims:
S_ISGID (02000)
set-group- ID (set process effective group ID on execve(2);
mandatory locking, as described in fcntl(2); take a new
file's group from parent directory, as described in
chown(2) and mkdir(2))
so it set's the groupid bit then rwx bits for the user and read and execute bits for the group.
So this seems to be a failure upstream I suppose, but will investigate further.
[0]: https:/ /man7.org/ linux/man- pages/man2/ chmod.2. html