Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. permission

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    permission

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jackal @Thomas Braun last edited by

      @thomas-braun Leider kein Erfolg...

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Jackal last edited by

        @jackal

        Dann nochmal die Frage:
        Was machst du denn genau?

        J 1 Reply Last reply Reply Quote 0
        • J
          Jackal @Thomas Braun last edited by

          @thomas-braun Ich gehe auf Skripte, kann dort walten und verwalten, kann aber keine Skripte löschen oder den Namen ändern.
          Ich kann aber in jedem Skript rumwerkeln bzw. neue erstellen.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Jackal last edited by Thomas Braun

            @jackal

            Wie bist du da unterwegs?

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            

            Hast du ein Spiegelverzeichnis angelegt?
            In welchem Pfad?

            J 1 Reply Last reply Reply Quote 0
            • J
              Jackal @Thomas Braun last edited by

              @thomas-braun Spiegelverzeichnis... Nicht das ich wüsste!

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Jackal last edited by

                @jackal

                Und wie bist du jetzt unterwegs?
                Ausgaben zu den beiden Befehlszeilen posten!

                Und ein Spiegelverzeichnis musst du anlegen. In den Einstellungen des Javascript-Adapters.
                Ich hab da z.B. /home/iobroker/skripte angelegt.

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                  @thomas-braun sagte in permission:

                  Und ein Spiegelverzeichnis musst du anlegen.

                  muss er nicht.
                  ohne Spiegel läuft er auch nicht Gefahr dass etwas wegen des Spiegels seine Skripte bei Fehlbehandlung verschwinden.

                  @Jackal
                  welche Versionen setzt du ein? Am besten Ausgabe von iobroker update -i

                  hier sind noch zwei Andere ohne bisherige Lösung
                  https://forum.iobroker.net/post/862073

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Homoran last edited by

                    @homoran

                    War da nicht irgendwas mit 'Mirror Verzeichnis muss außerhalb von /opt/iobroker' angelegt werden in neuen Versionen?

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                      @thomas-braun sagte in permission:

                      @homoran

                      War da nicht irgendwas mit 'Mirror Verzeichnis muss außerhalb von /opt/iobroker' angelegt werden in neuen Versionen?

                      Betonung liegt auf muss außerhalb (wenn angelegt)

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jackal @Homoran last edited by

                        @homoran Wie genau lege ich denn so ein piegelverzeichnis an?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Jackal last edited by

                          @jackal

                          sudo -H -u iobroker mkdir /home/iobroker/skripte
                          

                          Und dann im Adapter das angelegte Verzeichnis eintragen.

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            Jackal @Thomas Braun last edited by

                            @thomas-braun Leider auch kein Erfolg
                            Auch wenn ich ein Skript (auch im Spiegelverzeichnis) z.B. mit Filezilla löschen will, kommt "permission denied".

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Jackal last edited by

                              @jackal

                              getfacl /pfad/zum/spiegel/skript
                              

                              sagt?

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jackal @Thomas Braun last edited by

                                @thomas-braun
                                getfacl: Removing leading '/' from absolute path names

                                file: home/iobroker/skripte

                                owner: iobroker

                                group: iobroker

                                user::rwx
                                group::r-x
                                other::r-x

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Jackal last edited by

                                  @jackal

                                  CodeTags verwenden.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jackal @Thomas Braun last edited by

                                    @thomas-braun Sorry, aber was sind CodeTags? 🙄

                                    Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Jackal last edited by

                                      @jackal

                                      3571aabf-fc1b-4f69-b2d7-d4bfcb4ba119-grafik.png

                                      J 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Jackal last edited by

                                        @jackal

                                        ps --user iobroker
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Jackal @Thomas Braun last edited by Jackal

                                           PID TTY          TIME CMD
                                          10797 ?        00:07:03 iobroker.js-con
                                          10816 ?        00:01:09 io.admin.0
                                          10846 ?        00:00:11 io.pushover.0
                                          10865 ?        00:01:12 io.scenes.0
                                          10891 ?        00:00:23 io.mihome-vacuu
                                          10910 ?        00:00:13 io.nuki-extende
                                          10917 ?        00:00:16 io.sonoff.0
                                          10932 ?        00:00:23 io.zigbee.0
                                          10955 ?        00:00:20 io.hmip.0
                                          10962 ?        00:00:55 io.alexa2.0
                                          10969 ?        00:00:15 io.backitup.0
                                          10996 ?        00:00:12 io.discovery.0
                                          11011 ?        00:03:17 io.enigma2.0
                                          11027 ?        00:00:17 io.info.0
                                          11049 ?        00:00:24 io.iot.0
                                          11080 ?        00:00:19 io.simple-api.0
                                          11161 ?        00:00:20 io.web.0
                                          11189 ?        00:00:25 io.yeelight-2.0
                                          11745 ?        00:00:53 io.javascript.0
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Jackal last edited by

                                            @jackal

                                            iobroker update -i
                                            
                                            J 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            432
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            34
                                            1259
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo