openhab / openhab-distro

The binary distribution of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.29k stars 394 forks source link

config.properties not writable in tar.gz #1629

Closed realPyR3X closed 5 months ago

realPyR3X commented 5 months ago

I recently submitted a wip port of openHAB to run on OpenBSD https://marc.info/?l=openbsd-ports&m=170460829514801&w=2

I opted to use the tar.gz release https://github.com/openhab/openhab-distro/releases/download/4.1.0/openhab-4.1.0.tar.gz

Since most people probably use the distro provided package or manually use the zip for installation, this probably went unnoticed. The tar.gz preserves permissions and userdata/etc/config.properties is not writable. This is a problem for karaf when it tries to generate the stop command (it writes to config.properties). I adjusted for this when creating the OpenBSD package but wanted to report it upstream.

Also, why no archive root when building the release?

realPyR3X commented 5 months ago

This issue was created in error -- the issue is not part of openHABs tar.gz package.