Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Close) User PI Kein Zugang / Berechtigung

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (Close) User PI Kein Zugang / Berechtigung

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

      @yoda sagte in User PI Kein Zugang / Berechtigung:

      Nun kann der Iobroker dort nicht mehr schreiben.

      Der user iobroker soll auch in /home/pi nix schreiben.

      sudo ls -lah /home/pi/.bash_profile
      

      sagt z. B.?

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

        @thomas-braun sagte in User PI Kein Zugang / Berechtigung:

        sudo ls - lah /home/pi/.bash_profile

        login as: pi
        pi@192.168.178.133's password:
        Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64
        
        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.
        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Fri May 24 00:28:20 2024 from 192.168.178.166
        Could not chdir to home directory /home/pi: Permission denied
        -bash: /home/pi/.bash_profile: Permission denied
        pi@raspberrypi:/$ sudo ls - lah /home/pi/.bash_profile
        ls: cannot access '-': No such file or directory
        ls: cannot access 'lah': No such file or directory
        ls: cannot access '/home/pi/.bash_profile': No such file or directory
        pi@raspberrypi:/$
        
        

        Glaube der loggt sich schon nicht mehr richtig ein...

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

          @yoda
          Sorry, mein Fehler. Muss

          sudo ls -lah /home/pi/.bash_profile
          

          lauten.

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

            @thomas-braun sagte in User PI Kein Zugang / Berechtigung:

            sudo ls -lah /home/pi/.bash_profile

            login as: pi
            pi@192.168.178.133's password:
            Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Fri May 24 00:29:50 2024 from 192.168.178.166
            Could not chdir to home directory /home/pi: Permission denied
            -bash: /home/pi/.bash_profile: Permission denied
            pi@raspberrypi:/$ sudo ls -lah /home/pi/.bash_profile
            ls: cannot access '/home/pi/.bash_profile': No such file or directory
            pi@raspberrypi:/$
            
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Yoda last edited by

              @yoda
              Und

              ls -lah /home/
              
              Yoda 1 Reply Last reply Reply Quote 0
              • Yoda
                Yoda @Thomas Braun last edited by

                @thomas-braun sagte in User PI Kein Zugang / Berechtigung:

                ls -lah /home/

                pi@raspberrypi:/$ ls -lah /home/
                total 16K
                drwxr-xr-x  4 root     root     4.0K May 22 19:42 .
                drwxr-xr-x 18 root     root     4.0K Mar 15 16:12 ..
                drwxr-xr-x  5 iobroker iobroker 4.0K May 22 23:14 iobroker
                drwx------ 18 root     root     4.0K May 23 19:04 pi
                pi@raspberrypi:/$
                
                

                da kommt was

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

                  @yoda sagte in User PI Kein Zugang / Berechtigung:

                  drwx------ 18 root root 4.0K May 23 19:04 pi

                  Das ist klar. Da hast du mit root-Rechten an einer Stelle herumgefummelt, an der man das besser bleiben lässt.
                  Wie man ohnehin nicht mit sudo/root um sich wirft...

                  sudo chown -R  pi:pi /home/pi
                  
                  Yoda 1 Reply Last reply Reply Quote 1
                  • Yoda
                    Yoda @Thomas Braun last edited by

                    @thomas-braun hab vielen lieben Dank für deine Hilfe.

                    ja wollte eigentlich nur die Berechtigung vom Video Ordner setzten 😞
                    hatte ich mir so vor jahren mal Notiert - Notitz wird nun weg geschmissen

                    sieht nun so aus:

                    pi@raspberrypi:/$ sudo chown -R  pi:pi /home/pi
                    pi@raspberrypi:/$ ls -lah /home/
                    total 16K
                    drwxr-xr-x  4 root     root     4.0K May 22 19:42 .
                    drwxr-xr-x 18 root     root     4.0K Mar 15 16:12 ..
                    drwxr-xr-x  5 iobroker iobroker 4.0K May 22 23:14 iobroker
                    drwx------ 18 pi       pi       4.0K May 23 19:04 pi
                    pi@raspberrypi:/$
                    
                    

                    Neuanmeldung übers terminal und berechtigung pi sehen wieder gut aus.

                    login as: pi
                    pi@192.168.178.133's password:
                    Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64
                    
                    The programs included with the Debian GNU/Linux system are free software;
                    the exact distribution terms for each program are described in the
                    individual files in /usr/share/doc/*/copyright.
                    
                    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                    permitted by applicable law.
                    Last login: Fri May 24 00:33:06 2024 from 192.168.178.166
                    pi@raspberrypi:~ $
                    
                    
                    

                    Das Thema mit Bilder auf Raspi ablegen und per Telegramm senden würde ich separat mal schreiben.
                    Nach dem der Raspi nun auf 64 Bit umgestellt wurde läuft soweit alles wieder, nur das Thema Bilder ablegen und senden wäre noch offen.

                    Nochmals Danke für deine Hilfe !

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

                      @yoda sagte in User PI Kein Zugang / Berechtigung:

                      nur das Thema Bilder ablegen und senden wäre noch offen.

                      Sinnvollerweise natürlich aus Verzeichnissen heraus, auf die der ioBroker von Natur aus Zugriff hat. Also dessen /home oder das data-Verzeichnis in /opt/iobroker

                      Yoda 1 Reply Last reply Reply Quote 1
                      • Yoda
                        Yoda @Thomas Braun last edited by

                        @thomas-braun alles klar gehe ich morgen mal an 👍

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        937
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        2
                        11
                        261
                        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