ubuntuusers.de

FTP Server - vsftpd - 500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Status: Gelöst | Ubuntu-Version: Server 10.04 (Lucid Lynx)
Antworten |

superDAU

Avatar von superDAU

Anmeldungsdatum:
3. September 2007

Beiträge: 384

Wohnort: Erkelenz

Hallo liebe Ubuntu-Spezialisten,

für das UPGRADE meines IGEL (Thin Client) muss ich einen eigenen FTP-Server haben. Eigentlich sollte das kein Problem sein. vsftpd Scheint ja simpel einzurichten zu sein.

Leider bekomme ich folgende Fehlermeldung

500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Die Suche mit Google bringt mich zu dieser Seite: http://askubuntu.com/questions/128180/vsftpd-stopped-working-after-update Leider bleibt die Fehlermeldung die selbe.

Da der Server nur temporär (für das Update des IGEL) laufen wird, brauche ich keine große Sicherheit. Hier meine aktuelle CONFIG

# Example config file /etc/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
#
# Run standalone?  vsftpd can run either from an inetd or as a standalone
# daemon started from an initscript.
listen=YES
#
# Run standalone with IPv6?
# Like the listen parameter, except vsftpd will listen on an IPv6 socket
# instead of an IPv4 one. This parameter and the listen parameter are mutually
# exclusive.
#listen_ipv6=YES
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
#
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=NO
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
#local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# If enabled, vsftpd will display directory listings with the time
# in  your  local  time  zone.  The default is to display GMT. The
# times returned by the MDTM FTP command are also affected by this
# option.

Was habe ich falsch, dass die Fehlermeldung nicht verschwindet?

Vielen Dankf für eure Hilfe Christian KLein

superDAU

(Themenstarter)
Avatar von superDAU

Anmeldungsdatum:
3. September 2007

Beiträge: 384

Wohnort: Erkelenz

Merde....

Am Ende von meiner Config stand eine "1" in einer Zeile.

Das war der Fehler.

superDAU

(Themenstarter)
Avatar von superDAU

Anmeldungsdatum:
3. September 2007

Beiträge: 384

Wohnort: Erkelenz

Jetzt bin ich schon etwas weiter...

Der Zugriff ist jetzt möglich.

Der nächste Fehler war der Ordnername "igel.3.12.200". Damit kann FTP wohl nicht umgehen.

Also umbenannt in "igel_3_12_200". Jetzt komme ich per Terminal in den Ordner.

Beim Update meines IGEL kommt leider noch immer die Fehlermeldung

550 failed to open file

Für den Ordner habe ich schon alle Zugriffsrechte gesetzt. Wie komme ich jetzt weiter?

Schon mal Danke für Tipps und Hilfe Christian Klein

superDAU

(Themenstarter)
Avatar von superDAU

Anmeldungsdatum:
3. September 2007

Beiträge: 384

Wohnort: Erkelenz

Ich habe gerade einmal getestet, ob ich mich via Nautilus von einem anderen PC via FTP anmelden kann.

Hier klappt es ohne Probleme.

Eine Idee?

Christian

p.s. oder könnte es daran liegen, dass in dem Ordner ein Archiv liegt, dass ich vorher noch entpacken muss? Test ich morgen

superDAU

(Themenstarter)
Avatar von superDAU

Anmeldungsdatum:
3. September 2007

Beiträge: 384

Wohnort: Erkelenz

Ich bin es leid und habe auf dem IGEL ein Xubuntu installiert.

Ordentlich aufgeräumt mit Autostart und autmatischem Start für den LOGIN klappt es brav und artig.

Liebe Grüße Christian Klein

Antworten |