Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Homoran last edited by crunchip

      @homoran sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

      wie das Verzeichnis erstellt wurde

      Auf dem pi mit dem user pi mittels

      sudo influxd backup -portable -database iobroker /home/pi/influx_backup
      

      Auf dem lxc mit dem user karl mittels mkdir

      Und nun soll der Inhalt vo pi Verzeichnis ins lxc Verzeichnis

      Homoran 1 Reply Last reply Reply Quote 1
      • Homoran
        Homoran Global Moderator Administrators @crunchip last edited by

        @crunchip sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

        Mittels

        als ????

        • root?
        • user müller?
        Thomas Braun 1 Reply Last reply Reply Quote 1
        • Thomas Braun
          Thomas Braun Most Active @Homoran last edited by

          @homoran

          sudo influxd
          

          also mit root-Rechten

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

            @thomas-braun sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

            mit root-Rechten

            das weiß mein Poppes!

            aber wer ist der Besitzer des Verzeichnisses?
            bei sudo doch eben nicht der root, sondern der ausführende User, oder hab ich da einen Denkfehler?

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

              @homoran Wenn es /home/pi/influx_backup noch nicht gab dann gehört das jetzt inkl. dem influx dump dem root.

              Der darf ja alles, also auch dem kleinen pi in dessen /home herumschreiben.
              Und per sudo wird man (ohne weitere Optionen) immer root.

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

                @thomas-braun sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                Und per sudo wird man (ohne weitere Optionen) immer root.

                Aber man darf dann doch nicht alles, z.B. nicht in /root rein, oder hab ich das falsch in Erinnerung

                @thomas-braun sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                Der darf ja alles, also auch dem kleinen pi in dessen /home herumschreiben.

                und das ist meine Befürchtung

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

                  @homoran sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                  Aber man darf dann doch nicht alles, z.B. nicht in /root rein, oder hab ich das falsch in Erinnerung

                  Das hast du falsch in Erinnerung. Wie sonst sollte man denn auch in /root reinkommen? root login ist ja 'verboten'.

                  echad@chet: ~ $ ls -l /root
                  Keine Berechtigung
                  echad@chet: ~ $ sudo ls -l /root
                  insgesamt 0
                  
                  G 1 Reply Last reply Reply Quote 1
                  • G
                    GOETSCHHOFER @Thomas Braun last edited by

                    @thomas-braun

                    Habe dies auch mal bei mir probiert.

                    login as: pi
                    pi@192.168.1.160's password:
                    
                    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: Tue May 11 11:27:53 2021 from pc-home-desktop-q6er4kb.fritz.box
                    pi@raspberrypi:~ $ ls -l /root
                    ls: Öffnen von Verzeichnis /root nicht möglich: Keine Berechtigung
                    pi@raspberrypi:~ $ sudo ls -l /root
                    insgesamt 32
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Bilder
                    drwxr-xr-x 3 root root 4096 Jän 30  2017 Dokumente
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Downloads
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Musik
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Öffentlich
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Schreibtisch
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Videos
                    drwxr-xr-x 2 root root 4096 Jän 29  2017 Vorlagen
                    pi@raspberrypi:~ $
                    
                    
                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @GOETSCHHOFER last edited by

                      @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                      Habe dies auch mal bei mir probiert.

                      zu welchem Zweck?

                      es geht nach wie vor um dein Backupverzeichnis

                      G 1 Reply Last reply Reply Quote 1
                      • G
                        GOETSCHHOFER @Homoran last edited by

                        @homoran

                        Ich war halt neugierig. ☺

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

                          @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                          Ich war halt neugierig.

                          und wem gehört das jetzt?

                          @homoran sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                          es geht nach wie vor um dein Backupverzeichnis

                          simatec G 3 Replies Last reply Reply Quote 1
                          • simatec
                            simatec Developer Most Active @Homoran last edited by

                            Ich würde den Backupbefehl nicht mit sudo absetzen

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              GOETSCHHOFER @Homoran last edited by

                              und wem gehört das jetzt?

                              @homoran sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                              es geht nach wie vor um dein Backupverzeichnis

                              Mit welchem Befehl kann ich denn im RSP feststellen, wem ein Verzeichnis gehört ?

                              Ich kenne mich überhaupt nicht aus, aber könnte man eventuell durch chmod die Benutzerrechte ändern ?
                              https://www.shellbefehle.de/befehle/chmod/

                              Homoran Meister Mopper 2 Replies Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @GOETSCHHOFER last edited by

                                @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                könnte man eventuell durch chmod die Benutzerrechte ändern ?

                                könnte man, aber dazu sollte man wissen was jetzt da ist und was man da tut

                                G 1 Reply Last reply Reply Quote 1
                                • G
                                  GOETSCHHOFER @Homoran last edited by

                                  @homoran said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                  @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                  könnte man eventuell durch chmod die Benutzerrechte ändern ?

                                  könnte man, aber dazu sollte man wissen was jetzt da ist und was man da tut

                                  Und wie stelle ich fest, was jetzt da ist ? Abfrage aktuelle Benutzerrechte auf vorhandene Ordner ?

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    GOETSCHHOFER @simatec last edited by GOETSCHHOFER

                                    @simatec said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                    Ich würde den Backupbefehl nicht mit sudo absetzen

                                    Backup ohne sudo in Verzeichnis /home/pi/......
                                    Fehlermeldung.

                                    pi@raspberrypi:~ $ influxd backup -portable -database iobroker /home/pi/influx_backup
                                    backup: stat /home/pi/influx_backup/meta.00: permission denied
                                    pi@raspberrypi:~ $
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      GOETSCHHOFER @Homoran last edited by

                                      @homoran

                                      und wem gehört das jetzt?

                                      @homoran sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                      es geht nach wie vor um dein Backupverzeichnis

                                      Sehe ich dies richtig, dass der Ordner influx_backup dem BN root gehört ?

                                      pi@raspberrypi:/home $ ls -l
                                      insgesamt 16
                                      drwx------  2 root     root     4096 Mai 11 09:36 influx_backup
                                      drwxr-xr-x  7 iobroker iobroker 4096 Mär 31 20:39 iobroker
                                      drwx------  3 root     root     4096 Mai 11 10:59 karl
                                      drwxr-xr-x 33 pi       pi       4096 Mai 11 11:16 pi
                                      pi@raspberrypi:/home $
                                      
                                      
                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @GOETSCHHOFER last edited by

                                        @goetschhofer sagte in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                        Sehe ich dies richtig, dass der Ordner influx_backup dem BN root gehört ?

                                        ich weiß zwar nicht was BN ist, aber wie zu befürchten ja!

                                        Das war ja genau das was @Thomas-Braun schrieb

                                        G 1 Reply Last reply Reply Quote 1
                                        • G
                                          GOETSCHHOFER @Homoran last edited by GOETSCHHOFER

                                          @homoran said in Anfänger sucht Hilfe bei Install. proxmox auf INTELNUC8i3BEK:

                                          ich weiß zwar nicht was BN ist, aber wie zu befürchten ja!

                                          Das war ja genau das was @Thomas-Braun schrieb

                                          BN=Benutzer
                                          @Thomas Braun
                                          Wie kann ich jetzt ohne großen Schaden anzurichten, den Benutzer bei influx-backup ändern ?

                                          pi@raspberrypi:/home $ cd pi
                                          pi@raspberrypi:~ $ ls -l
                                          insgesamt 72772
                                          -rw-r--r-- 1 pi   pi     2369065 Jän 28  2017 2017-01-28-143050_1680x1050_scrot.png
                                          -rw-r--r-- 1 pi   pi     2369081 Jän 29  2017 2017-01-29-085008_1680x1050_scrot.png
                                          -rw-r--r-- 1 pi   pi      105166 Jän 31  2017 2017-01-31-162458_1680x1050_scrot.png
                                          drwxr-xr-x 3 pi   pi        4096 Jän 25  2017 Desktop
                                          drwxr-xr-x 6 pi   pi        4096 Jän 25  2017 Documents
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Downloads
                                          drwxr-xr-x 5 pi   pi        4096 Jän 24 17:12 grafana-groupedbarchart-panel
                                          -rw-r--r-- 1 pi   pi    34466728 Feb  6  2020 grafana-rpi_6.6.1_armhf.deb
                                          -rw-r--r-- 1 pi   pi    34466728 Feb  6  2020 grafana-rpi_6.6.1_armhf.deb.1
                                          drwx------ 2 root root      4096 Mai 11 11:18 influx_backup
                                          -rw-r--r-- 1 pi   pi           0 Jän 31 14:19 login
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Music
                                          -rw------- 1 root root         1 Nov 27  2019 nano.save
                                          drwxr-xr-x 3  501 staff     4096 Nov 25  2008 noip-2.1.9-1
                                          -rw-r--r-- 1 pi   pi      134188 Nov  3  2015 noip-duc-linux.tar.gz
                                          -rw-r--r-- 1 pi   pi      134188 Nov  3  2015 noip-duc-linux.tar.gz.1
                                          -rw-r--r-- 1 root root    134188 Nov  3  2015 noip-duc-linux.tar.gz.2
                                          -rw-r--r-- 1 root root    134188 Nov  3  2015 noip-duc-linux.tar.gz.3
                                          -rw-r--r-- 1 root root    134188 Nov  3  2015 noip-duc-linux.tar.gz.4
                                          drwxr-xr-x 3 pi   pi        4096 Apr 20 17:03 oldconffiles
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Pictures
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Public
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 python_games
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Templates
                                          drwxr-xr-x 2 pi   pi        4096 Nov 25  2016 Videos
                                          pi@raspberrypi:~ $
                                          
                                          
                                          simatec 1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @GOETSCHHOFER last edited by simatec

                                            @goetschhofer

                                            sudo chown pi:pi /home/pi/influx_backup
                                            sudo -u pi chmod 755 /home/pi/influx_backup
                                            
                                            G 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            982
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            1008
                                            195339
                                            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