Why chage openHAB rights /etc/openhab/configurations

Hi i am transfer my Fhem to openHAB 1.8. on Raspberry Pi, Debian, Jessi, Java 1.8.

My first question is: Why change openHAB rights?

  1. I change the rights from /etc/openhab/configurations to chmod 777
  2. Restart openHAB
  3. openHAB change the rights to
    drwxr-xr-x 13 openhab openhab 4096 Feb 28 09:02 configurations

Bug or feature?

Both actually.

There is a script that gets called when OH starts up that changes the permissions on all the files that openhab needs access to. One of the biggest problems people have with OH when they install manually has to do with permissions and this script helps eliminate the majority of those problems.

But there is a bug in this behavior too which has already been submitted. See this posting.