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.
    • 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
                            • J
                              Jackal @Thomas Braun last edited by

                              @thomas-braun

                              Used repository: stable
                              Adapter    "admin"        : 6.2.22   , installed 6.2.22
                              Adapter    "alexa2"       : 3.19.9   , installed 3.19.9
                              Adapter    "backitup"     : 2.4.12   , installed 2.4.12
                              Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                              Adapter    "hmip"         : 1.18.0   , installed 1.18.0
                              Adapter    "info"         : 1.9.19   , installed 1.9.19
                              Adapter    "iot"          : 1.11.9   , installed 1.11.9
                              Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                              Controller "js-controller": 4.0.23   , installed 4.0.23
                              Adapter    "mihome-vacuum": 3.4.2    , installed 3.4.2
                              Adapter    "nuki-extended": 2.3.1    , installed 2.3.1
                              Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                              Adapter    "ring"         : 3.0.4    , installed 3.0.4
                              Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                              Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                              Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                              Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                              Adapter    "vis"          : 1.4.15   , installed 1.4.15
                              Adapter    "web"          : 4.3.0    , installed 4.3.0
                              Adapter    "ws"           : 1.3.0    , installed 1.3.0
                              Adapter    "yeelight-2"   : 1.1.2    , installed 1.1.2
                              Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Jackal last edited by

                                @jackal

                                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
                                
                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jackal @Thomas Braun last edited by

                                  @thomas-braun

                                  Welcome to Node.js v16.17.1.
                                  Type ".help" for more information.
                                  > 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
                                  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
                                                      ^^^^^^
                                  
                                  Uncaught SyntaxError: Unexpected identifier
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Jackal last edited by

                                    @jackal

                                    Wo bist du denn jetzt gelandet?

                                    exit 
                                    

                                    oder STRG-Q oder wie man auch immer aus der node shell herauskommt.

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

                                      @thomas-braun

                                      armv7l
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v16.17.1
                                      v16.17.1
                                      8.15.0
                                      4.0.23
                                      pi
                                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                      /home/pi
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Jackal last edited by

                                        @jackal

                                        Das ist nicht alles. Abwarten bis wieder eine Eingabezeile erscheint.

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

                                          @thomas-braun

                                          armv7l
                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v16.17.1
                                          v16.17.1
                                          8.15.0
                                          4.0.23
                                          pi
                                          pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                                          /home/pi
                                          Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                          Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                          Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
                                          Reading package lists... Done
                                          Building dependency tree
                                          Reading state information... Done
                                          2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                          nodejs:
                                            Installed: 16.17.1-deb-1nodesource1
                                            Candidate: 16.17.1-deb-1nodesource1
                                            Version table:
                                           *** 16.17.1-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               10.24.0~dfsg-1~deb10u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Jackal last edited by

                                            @jackal

                                            Fällt mir nix mehr zu ein.

                                            J 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            882
                                            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