Project

General

Profile

Actions

Bug #18347

closed

Group owner of files under configuration-repository are inconsistent

Added by Félix DALLIDET about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
3
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

The webapp seems to create/edit files and output them with the group owner root. Which conflicts with the script "/opt/rudder/bin/rudder-fix-repository-permissions" which force the
group owner to be "rudder".

We need to clarify this part and state clearly what should be the perms for the files under the configuration-repository to avoid such conflicting and misleading cases.

The configuration repository after a technique creation:

server:/var/rudder/configuration-repository # find /var/rudder/configuration-repository ! -group rudder
/var/rudder/configuration-repository/directives/ncf_techniques/pkg
/var/rudder/configuration-repository/directives/ncf_techniques/pkg/activeTechniqueSettings.xml
/var/rudder/configuration-repository/directives/ncf_techniques/pkg/7ac318b5-9f6e-416c-98e0-1373b2aa323d.xml
/var/rudder/configuration-repository/groups/SystemGroups
/var/rudder/configuration-repository/groups/SystemGroups/hasPolicyServer-69ef1f5a-4ba3-4bd2-8e77-b65b214a9557.xml
/var/rudder/configuration-repository/groups/9a542f2c-7936-484e-98fb-f1c5b96cf34f.xml
/var/rudder/configuration-repository/ncf
/var/rudder/configuration-repository/ncf/generic_methods.json
/var/rudder/configuration-repository/ncf/ncf_hash_file


Subtasks 1 (0 open1 closed)

Bug #18349: User/Group of user technique files should be rudder:rudderReleasedVincent MEMBRÉActions

Related issues 2 (0 open2 closed)

Related to Rudder - Architecture #18375: Directly generate policies with correct rightsReleasedNicolas CHARLESActions
Related to Rudder - Bug #18592: ncf_hash_file is created with incorrect group permission by system techniquesReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF