Project

General

Profile

Actions

Bug #26895

open

Remove two useless “chown root” that prevents building the agent without being root

Added by Michel BOUISSOU 18 days ago. Updated 17 days ago.

Status:
Pending release
Priority:
N/A
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

In rudder-packages/rudder-agent/SOURCES/Makefile.in
there are the following lines :

        # bug in fusion installer that doesn't set the right owner to some files
        chown root fusion/opt/rudder/share/fusioninventory
        chown root fusion/opt/rudder/share/fusioninventory/html

These lines force to build the agent as “root” and causes the build to fail if done as a normal user.

They have proven useless (building as a normal user works without them and the resulting files have the correct ownership at installation).

Thus I propose their removal.

Actions

Also available in: Atom PDF