Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

setpermission.sh missing some directories #3601

Closed
slaboure opened this issue Dec 27, 2015 · 11 comments
Closed

setpermission.sh missing some directories #3601

slaboure opened this issue Dec 27, 2015 · 11 comments
Assignees
Labels
Milestone

Comments

@slaboure
Copy link

For an apt-get installation to work, setpermission.sh must be modified to also "chown" /var/log/openhab (for logs) and /usr/share/openhab (for Dropbox timestamp files for example). This is not being done on 1.7.1

@teichsta
Copy link
Member

could you have a look please @theoweiss?

@teichsta teichsta added the bug label Dec 27, 2015
@teichsta teichsta added this to the 1.8.0 milestone Dec 27, 2015
@theoweiss
Copy link
Member

Ok, I will check that.

@teichsta
Copy link
Member

any chance to have a quick at this one today @theoweiss ?

@theoweiss
Copy link
Member

Sorry no chance: a serious cold is visiting my family. I have to get these things managed.

@theoweiss
Copy link
Member

@slaboure can you describe the issue a bit more in detail.
Normally set permissions is only needed when the openhab user in /etc/default/openhab was reconfigured or the openhab service has been started in between manually as root. It's meant for handling these special cases.

@teichsta
Copy link
Member

Sorry no chance: a serious cold is visiting my family. I have to get these things managed.

no worries … get well soon!

@teichsta teichsta modified the milestones: 1.8.2, 1.8.1 Jan 31, 2016
@teichsta
Copy link
Member

teichsta commented Mar 7, 2016

any update on this @slaboure @theoweiss ?

@theoweiss
Copy link
Member

I will provide a fix till the weekend.

@theoweiss
Copy link
Member

setpermissions.sh already changes permissions of /var/log/openhab . /usr/share/openhab has to be readonly for the openhab user, for security reasons. Files should only be changed in the $userdata directory and the log dir. The dropbox binding is already fixed with #3451. Open issues of setpermissions.sh should be fixed with #4166 .

@teichsta
Copy link
Member

ftr: #4166 has been merged meanwhile …

@slaboure
Copy link
Author

perfect, thanks!

On Sun, Mar 13, 2016 at 2:17 PM, Thomas Eichstädt-Engelen <
notifications@github.com> wrote:

ftr: #4166 #4166 has been merged
meanwhile …


Reply to this email directly or view it on GitHub
#3601 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants