[nflug] Really dumb ftp question

John Seth johnseth at phoenixwing.com
Fri Dec 16 21:28:42 EST 2005


I use, and LOVE, vsftpd.  Most distro's are starting to come around to 
it, including many BSD's.  It is VERY secure, hence it's name: Very 
Secure FTPd.  Instead of pasting or attaching my config's, grab them at:

   http://www.phoenixwing.com/uploads/vsftpd-configs.tgz

Those are, with some minor changes, exact duplicates of what I'm running 
now... and I've run them on an ISP's servers with better results than 
any other FTPd in their situation. I use vsftpd for my own use now, but 
my current company uses ProFTPd for it's virtual hosting abilities.

You should also make sure that /var/ftp and /usr/share/empty exist.  For 
more info, check out vsftpd's website at http://vsftpd.beasts.org/, and 
more specifically:

Permissions and necessary dir's/perm's:
   ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.3/INSTALL

Online vsftpd.conf man page:
   http://vsftpd.beasts.org/vsftpd_conf.html

If nothing else works, it'd be my guess that your file system 
permissions are incorrect.

BTW, my configuration locks users into their home dir's and runs in 
standalone mode.  It will start with root priv's, in order to listen on 
the unix port, other than that, it runs as the user, or as user "ftp".  
Check out the doc's on it's security model.  I feel this is the most 
secure ftpd out there... but that is my own opinion...


hth...

    ~ Tony

  

Richard Hubbard wrote:
> I have a student trying to configure an FTP server for
> uploads. It's fedora core 4, using vsftpd.  when we
> try to upload after configuring a user on the linux
> box, we get an error, basically 'you don't have
> permission' ===>"could not create file"
>
> Throwing security to the wind (right now the machine
> is in 'impossible to hack externally' mode (xover
> cable between ftp client and server)) we tried to
> allow anonymous uploads, made sure the target
> directory had the proper permissions (overkill at
> 777).
>
> Still no joy.  Can anyone tell me what I am
> forgetting? It has to be something obvious and stupid.
>
> Thanks!
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20070525/5cd1c962/attachment.html
-------------- next part --------------
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug


More information about the nflug mailing list