Project

General

Profile

Actions

Bug #17911

closed

/opt/rudder/etc/htpasswd-webdav-initial incorrect permissions

Added by Richard Harvey over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
32
Name check:
To do
Fix check:
To do
Regression:

Description

Hi there,

I've upgraded from 5.0.16 to 6.1.1 and couldn't add a new host (all previously added hosts were working fine).

Rudder agent was failing on
/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:rudder --upload-file /var/rudder/inventories/[OCS.sign file name].ocs.sign https://[server]/inventories/

Receiving an error 500, server side the following apache error was showing
[authn_file:error] [pid 35972:tid 139700698334976] (13)Permission denied: [client [serverIP]:50816] AH01620: Could not open password file: /opt/rudder/etc/htpasswd-webdav-initial

File existed but was owned by root 600

It's entirely possible this occured in previous version 5 upgrades as I haven't added a new host for a while.

Actions

Also available in: Atom PDF