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.
    • Thomas Braun
      Thomas Braun Most Active @Homoran last edited by

      @homoran
      Und wenn sich das auf non-unix-Dateisystemen abspielt ist es mit den unix-Rechten eh vorbei.

      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:

        wenn sich das auf non-unix-Dateisystemen abspielt

        ist das denn hier der Fall?
        ich denke wir arbeiten hier mit einem Debian Container

        Aber ich habe noch keine verwertbare Antwort auf die Frage von @simatec gefunden, wie das Verzeichnis erstellt wurde

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

          @homoran
          Keine Ahnung. So genau les ich nicht mit.

          (Ich bin ja auch schon ruhig...) 🙂

          1 Reply Last reply Reply Quote 1
          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            749
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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