Hallo,
ich möchte gern das Datenverzeichnis auf meine USB-Platte (ext4-formatiert) legen. Das Programm selbst liegt auf der SD-Karte im Home-Ordner von Seafile. Die Festplatte ist als /share/ eingebunten.
Während der Installation bekomme ich nun diese Fehlermeldung:
Code
seafile data dir: /share/seafile/seafile-data
seafile port: 12001
httpserver port: 8082
If you are OK with these configuration, press [ENTER] to continue.
Generating ccnet configuration in /home/seafile/seafile/ccnet...
done
Successly create configuration dir /home/seafile/seafile/ccnet.
Generating seafile configuration in /share/seafile/seafile-data ...
Failed to save config file: /share/seafile/seafile-data/seafile.conf Permission denied.
Failed to generate seafile configuration
Error occured during setup.
Please fix possible problems and run the script again.
Alles anzeigen
Ich interpretiere das so, dass seafile kein Recht hat, in /share/ Ordner anzulegen. Ist das so?
Dann habe ich als Standard-Nutzer "pi" den Ordner /share/sealife/ erstellt und wollte
den Ordner /sealife/ dem Nutzer "seafile" übergeben:
Code
seafile@pi-nas /home/pi $ sudo chown seafile:eafile /share/seafile
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for seafile:
seafile is not in the sudoers file. This incident will be reported.
Der Ordner /share/ gehört dem Nutzer "pi" , aber /share/seafile/ soll dem Nutzer "seafile" gehören. Ist das mein Fehler? Aber wie kann ich das lösen?