New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install script does not chown data to current user #2858
Comments
|
no issues here... all is owned by the 'pi' user... |
|
Yes, that's the issue, the script only works for user 'pi', not any other user (e.g. |
|
hmmm why is this happening ? there is no reference for the pi user in the install script at all ? |
|
I think it’s because the files are owned by user pi inside the tar.gz file and the permissions are retained when unpacking. Can that be? |
|
That could very well be the case... maybe it needs to be unpacked differently, but from my understanding this only happens when the 'user' exists on the system. Does the pi user exists on your system? If yes, why not use it ? |
|
No response, closing issue |
The install script (from install.domoticz.com) does not chown files to the current user, and instead inherits file permissions from the release file. The fix is simple:
The text was updated successfully, but these errors were encountered: