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

Andrew Clayton andrew at digital-domain.net
Thu Aug 5 11:35:43 UTC 2010


On Thu, 5 Aug 2010 12:13:58 +0100, Gary Short wrote:

> 
> 
> > -----Original Message-----
> > From: dundee-bounces at lists.lug.org.uk [mailto:dundee-
> > bounces at lists.lug.org.uk] On Behalf Of Andrew Clayton
> > Sent: 05 August 2010 12:03
> > To: dundee at lists.lug.org.uk
> > Subject: Re: [dundee] Why is Everythin on Linux Such a Ball Ache?
> > 
> > On Thu, 5 Aug 2010 11:03:20 +0100, Gary Short wrote:
> > 
> 
> [snip]
> 
> > I do have an
> > 
> > anonymous_enable=YES
> > 
> > near the top of the config.
> 
> Added with no effect, still get same errors :-(

An obvious question, But you did restart vsftpd right?

Going back to one of you earlier emails.

You say when you login you only see / and not pub, well that would
right, /srv/ftp is the root and pub is a directory under that, so you'd
need to cd into it.

Like I showed ion my previous mail

$ lftp localhost
lftp localhost:~> user anonymous
Password: 
lftp anonymous at localhost:~> ls -l
drwxr-xr-x    2 14       50           4096 Aug 05 10:52 pub
lftp anonymous at localhost:/>  cd pub/
lftp anonymous at localhost:/pub> mkdir test
mkdir ok, `test' created

Also 

Command:	STOR /test.txt

Looks wrong, maybe it's just your ftp client being strange, but there
shouldn't a be / at the start of filename. That would mean it's trying
to put the file into the root (/srv/ftp).

e.g

lftp ftp at localhost:/pub> put mbox
481881 bytes transferred
lftp ftp at localhost:/pub> put mbox -o /mbox
put: Access failed: 553 Could not create file. (/mbox)

Andrew



More information about the dundee mailing list