Ankündigung

Einklappen
Keine Ankündigung bisher.

[Erledigt] chown tut nichts

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • [Erledigt] chown tut nichts

    Hallo, folgendes Problem:

    Ich habe auf meinem Raspy ein svn installiert, dazu apache2 und noch ein samba.

    Am Raspy hängt meine externe Festplatte.
    Jetzt ist ein SVN-Reporitory notwendig, welches unter Umständen etwas größer werden könnte (Video-Material oder Skripte für Video-Effekte) - die kleine Speicherkarte im Raspy wird also nicht ausreichen.

    Ich habe nun ein Repo angelegt (normal auf dem Raspy), dieses auf die externe verschoben und dort dann die Ordnerrechte an www-data übergeben wollen.

    Code:
    root@horo:/media/external/SouteiSubs# ls -l
    total 1
    drwxrwxrwx 1 root root 624 Nov  4 02:34 svn
    root@horo:/media/external/SouteiSubs# chown -R -v www-data:www-data svn/
    changed ownership of `svn/conf/authz' from root:root to www-data:www-data
    changed ownership of `svn/conf/passwd' from root:root to www-data:www-data
    changed ownership of `svn/conf/svnserve.conf' from root:root to www-data:www-data
    changed ownership of `svn/conf' from root:root to www-data:www-data
    changed ownership of `svn/db/current' from root:root to www-data:www-data
    changed ownership of `svn/db/format' from root:root to www-data:www-data
    changed ownership of `svn/db/fs-type' from root:root to www-data:www-data
    changed ownership of `svn/db/fsfs.conf' from root:root to www-data:www-data
    changed ownership of `svn/db/min-unpacked-rev' from root:root to www-data:www-data
    changed ownership of `svn/db/revprops/0/0' from root:root to www-data:www-data
    changed ownership of `svn/db/revprops/0' from root:root to www-data:www-data
    changed ownership of `svn/db/revprops' from root:root to www-data:www-data
    changed ownership of `svn/db/revs/0/0' from root:root to www-data:www-data
    changed ownership of `svn/db/revs/0' from root:root to www-data:www-data
    changed ownership of `svn/db/revs' from root:root to www-data:www-data
    changed ownership of `svn/db/svn-ukmvCe' from root:root to www-data:www-data
    changed ownership of `svn/db/transactions' from root:root to www-data:www-data
    changed ownership of `svn/db/txn-current' from root:root to www-data:www-data
    changed ownership of `svn/db/txn-current-lock' from root:root to www-data:www-data
    changed ownership of `svn/db/txn-protorevs' from root:root to www-data:www-data
    changed ownership of `svn/db/uuid' from root:root to www-data:www-data
    changed ownership of `svn/db/write-lock' from root:root to www-data:www-data
    changed ownership of `svn/db' from root:root to www-data:www-data
    changed ownership of `svn/format' from root:root to www-data:www-data
    changed ownership of `svn/hooks/post-commit.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/post-lock.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/post-revprop-change.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/post-unlock.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/pre-commit.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/pre-lock.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/pre-revprop-change.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/pre-unlock.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks/start-commit.tmpl' from root:root to www-data:www-data
    changed ownership of `svn/hooks' from root:root to www-data:www-data
    changed ownership of `svn/locks/db-logs.lock' from root:root to www-data:www-data
    changed ownership of `svn/locks/db.lock' from root:root to www-data:www-data
    changed ownership of `svn/locks' from root:root to www-data:www-data
    changed ownership of `svn/README.txt' from root:root to www-data:www-data
    changed ownership of `svn/' from root:root to www-data:www-data
    root@horo:/media/external/SouteiSubs#
    Problem: Der Befehl geht zwar durch und er sagt, er habe überall den Besitzer gewechselt, die Verzeichnisse darin (und das Verzeichnis selbst) gehören aber nach wie vor dem Benutzer root.

    Mache ich da was falsch? Oder funkt mir da evtl. samba dazwischen? (Für die Netzwerkfreigabe, weil ich eben meine Filme / Musik etc auf der Platte hab)

    Irgendwelche Tipps?

    (Das ganze soll kein Dauerzustand sein, da samba ohnehin auf den Banana pi umziehen wird, aber vorerst eben notwendig :/)
    (Anmerkung: Gerade gelesen das dies wohl was mit der Formatierung zu tun hat (ntfs)... werd mir wohl doch was anderes überlegen müssen)

  • #2
    Was für ein Dateisystem hat die externe?
    [QUOTE=nikosch]Macht doch alle was Ihr wollt mit Eurem Billigscheiß. Von mir aus sollen alle Eure Server abrauchen.[/QUOTE]

    Kommentar


    • #3
      NTFS
      Hab gelesen man bräuchte da nen extra parameter, allerdings bin ich froh dass das ding überhaupt gemountet ist ^^

      Kommentar


      • #4
        Bei NFS Laufwerken geht sowas gar nicht, da muss man sich auf den NFS Host einloggen, um Besitzerrechte anzupassen.
        Du hast jedoch ein Windows Laufwerk gemountet, da funktioniert die ganze Rechtegeschichte anders.

        Ein bischen google...
        http://askubuntu.com/questions/10547...m-local-drives
        Über 90% aller Gewaltverbrechen passieren innerhalb von 24 Stunden nach dem Konsum von Brot.

        Kommentar

        Lädt...
        X