Git Product home page Git Product logo

Comments (8)

hobbyquaker avatar hobbyquaker commented on May 16, 2024

Hmm, das ist seltsam, ist mir bei meinen Tests bisher nicht untergekommen. Kannst Du mal checken welchen Besitzer/Gruppe /usr/local/addons bei Dir hat?

from redmatic.

FrodoVDR avatar FrodoVDR commented on May 16, 2024

Das Verzeichnis gehört root:root

/usr/local/addons
# ls -la
total 40
drwxr-xr-x   10 root     root          4096 Jun 11 11:15 .
drwxr-xr-x    8 root     root          4096 May 28 18:28 ..
drwxr-xr-x    4 root     root          4096 Apr 20 20:40 ccu-historian
drwxr-xr-x    3 root     root          4096 Feb  4 18:01 check_mk_agent
drwxr-xr-x    5 root     root          4096 Jun 12 20:55 cuxd
drwx------    2 root     root          4096 Apr 10 10:23 netatmo
drwxr-xr-x   10 2000     2000          4096 Jun 11 18:02 redmatic
drwxr-xr-x    6 root     root          4096 Jun  1 22:24 rmupdate

Dein Addon erhält selbst nach einem Update die falschen Rechte.
Eventuell liegt es daran das ich sowohl die Installation als auch das Update über das addon rmupdate (https://github.com/j-a-n/raspberrymatic-addon-rmupdate) durchgeführt habe.

from redmatic.

hobbyquaker avatar hobbyquaker commented on May 16, 2024

Eventuell liegt es daran das ich sowohl die Installation als auch das Update über das addon rmupdate durchgeführt habe.

Ok, ich denke das ist der entscheidende Hinweis. Werde das mal testen.

from redmatic.

FrodoVDR avatar FrodoVDR commented on May 16, 2024

Gerade selbst getestet, wenn ich Dein addon über die Homematic Oberfläche installiere gehört alles root, nehme ich rmupdate gehört es 2000 .

from redmatic.

jens-maus avatar jens-maus commented on May 16, 2024

@hobbyquaker Du solltest in deinem build.sh beim zusammenpacken des tar.gz explizit root als Nutzer aller Files setzen.

Vergleiche

https://github.com/jens-maus/hm-watchdog/blob/master/generate_img.sh#L21
mit
https://github.com/hobbyquaker/RedMatic/blob/master/build.sh#L129

Zusätzlich sollte in der Tat Jan im rmupdate addon einbauen das das addon Paket auch immer als root:root ausgepackt wird.

from redmatic.

j-a-n avatar j-a-n commented on May 16, 2024

Das Problem sollte durch die Version 1.12.3 von rmupdate gelöst sein.

from redmatic.

hobbyquaker avatar hobbyquaker commented on May 16, 2024

Danke Jan und Jens!

from redmatic.

jens-maus avatar jens-maus commented on May 16, 2024

@hobbyquaker Du solltest aber trotzdem das tar.gz mit --owner=root --group=root zusammenpacken lassen ;)

from redmatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.