Permission check in ./install -dis flags unwriteable files in the .git directory - redux

Description

When I run ./install -dis while upgrading to H29.0.4 I'm getting the error "OpenNMS is configured to run as 'opennms' but '/opt/opennms/etc/.git/objects/xx/xxxxxxxxxxxxxxxxx' is not writable by that account."

Environment

RHEL 7.9 OpenJDK 11.0.13

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed January 11, 2022 at 5:23 AM

Merged to release-29.x

Benjamin Reed January 10, 2022 at 5:19 PM

Mark Mahacek January 5, 2022 at 4:51 PM

Issue is not file ownership but that the .git subfolder contents are set to be read only. Hence the “not writable by that account” message.

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created December 16, 2021 at 7:26 PM
Updated February 2, 2022 at 2:29 PM
Resolved January 11, 2022 at 5:23 AM