[dundee] Why is Everythin on Linux Such a Ball Ache?

Gary Short gary at garyshort.org
Thu Aug 5 10:03:19 UTC 2010


Okay guys, I've followed all the links and advice and it still doesn't work.
Here's what I've got:

In the config file are the following settings:
ftp_username=ftp
anon_other_write_enable=YES
anon_world_readable_only=NO
anon_upload_enable=YES
anon_mkdir_write_enable=YES
anon_root=/srv/ftp

The daemon has started properly.

The tree structure is as follows
/srv/ftp/pub

And permissions are...
drwx------ 3 root root ftp
drwxrwxrwx 2 ftp ftp pub

When I start Filezilla I can connect anonymously but I see "/" not "/pub"
and when I try to create a directory I get:
Status:	Connected
Status:	Creating directory '/new'...
Command:	CWD /
Response:	550 Failed to change directory.
Command:	MKD /new
Response:	550 Create directory operation failed.

When I try to upload I get:
Command:	CWD /
Response:	550 Failed to change directory.
Command:	SIZE /test.txt
Response:	550 Could not get file size.
Command:	TYPE A
Response:	200 Switching to ASCII mode.
Command:	PASV
Response:	227 Entering Passive Mode (192,168,0,187,23,252).
Command:	STOR /test.txt
Response:	553 Could not create file.
Error:	Critical file transfer error 

Any help would be appreciated

Thanks,
Gary



> -----Original Message-----
> From: dundee-bounces at lists.lug.org.uk [mailto:dundee-
> bounces at lists.lug.org.uk] On Behalf Of Robert Ladyman
> Sent: 05 August 2010 09:16
> To: davidson.kris at gmail.com; Tayside Linux User Group
> Subject: Re: [dundee] Why is Everythin on Linux Such a Ball Ache?
> 
> ho, ho ...and you are forgetting:-
> 
> anon_other_write_enable=
> and
> anon_world_readable_only=
> 
> not to mention that old favourite...
> 
> anon_upload_enable=
> 
> If this is vsftpd, have a look at:
> 
> http://www.linuxjournal.com/article/7520
> 
> It's about the clearest explanation and gives you permission settings
> and
> explains the entries.
> 
> > In the config file are
> >
> > anon_mkdir_write_enable=
> > anon_root=
> >
> > set and if to what, you might also want to set
> > anon_mkdir_write_enable=YES and anon_root=/srv/ftp or whatever
> > directory you set at that step.
> >
> > What are the ownership and permissions on the directory for the FTP
> > root? (and any parent directories)
> >
> > Also does the daemon start correctly and what's in /var/log for FTP?
> >
> > If you could pastebin the config files or parts of it somewhere that
> > might help also.
> >
> > Kris
> >
> > _______________________________________________
> > dundee GNU/Linux Users Group mailing list
> > dundee at lists.lug.org.uk  http://dundeelug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/dundee
> > Chat on IRC, #tlug on irc.lug.org.uk
> >
> 
> --
> Robert Ladyman
> File-Away Limited
> 3 Ralston Business Centre, Newtyle, Blairgowrie
> Perthshire  PH12 8TL SCOTLAND
> Tel: +44 (0) 1828 898 158
> Mobile: +44 (0) 7732 771 649
> http://www.file-away.co.uk
> 
> ============================================
> Registered Office: 32 Church Street, Newtyle, Blairgowrie
> Perthshire, PH12 8TZ SCOTLAND
> Registered in Scotland, Company Number SC222086
> 
> 
> _______________________________________________
> dundee GNU/Linux Users Group mailing list
> dundee at lists.lug.org.uk  http://dundeelug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/dundee
> Chat on IRC, #tlug on irc.lug.org.uk
> 
> !DSPAM:5,4c5a733182391999513256!





More information about the dundee mailing list