openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
821 stars 252 forks source link

Permission error during HABApp installation #1577

Closed spacemanspiff2007 closed 3 years ago

spacemanspiff2007 commented 3 years ago

Issue information:

HABApp has no write access to etc/openhab after a fresh installation of openhabian-pi-raspios32-v1.6.5 on a pi4 4GB.

Sep 08 08:59:28 openhabian habapp[3551]:   File "/usr/lib/python3.7/pathlib.py", line 1039, in _opener
Sep 08 08:59:28 openhabian habapp[3551]:     return self._accessor.open(self, flags, mode)
Sep 08 08:59:28 openhabian habapp[3551]: PermissionError: [Errno 13] Permission denied: '/etc/openhab/habapp/logging.yml'

Setup has created the HABApp folder with user 775 and Group openhabian. grafik

Applying "fix permission does resolve the issue grafik

System information:

 openHABian Configuration Tool — [main]{2021-09-07T11:36:31+02:00}(37d24fd)                                       │
                               │ openHAB 3.1.0 - Release Build