Project

General

Profile

Bug #11414

Manually restoring permissions for NCF after archive import is broken

Added by Janos Mattyasovszky 3 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Target version (plugin):
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
68

Description

As of 4.1 documentation, the "Basic Administration" -> "Archiving" -> "Importing configuration" states:

If necessary, correct all files permissions: chown -R root:rudder directives groups parameters ruleCategories rules techniques

However, this is not completely correct, since the NCF Editor requires not root but the ncf-api-venv user to have write permissions.

So either this an additionally required correct command:

chown -R ncf-api-venv:rudder ncf/50_techniques techniques/ncf_techniques/

Or you'd need to give the rudder g+w to all files, since the user is member of the rudder group.

Associated revisions

Revision 00b8da2d
Added by Nicolas CHARLES 2 months ago

Fixes #11414: Manually restoring permissions for NCF after archive import is broken

History

#1 Updated by François ARMAND 3 months ago

  • Target version set to 3.1.24
  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Effort required set to Very Small
  • Priority changed from 0 to 68

#3 Updated by Benoît PECCATTE 2 months ago

  • Assignee set to Nicolas CHARLES

#4 Updated by Nicolas CHARLES 2 months ago

  • Status changed from New to In progress

#5 Updated by Nicolas CHARLES 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-doc/pull/375

#6 Updated by Nicolas CHARLES about 2 months ago

  • Status changed from Pending technical review to Pending release

#7 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.24, 4.1.8 and 4.2.1 which were released today.

Also available in: Atom PDF