Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2004, 02:12 PM   #1
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
Proftp for anonymous logon


I know lots of things have already been written for Proftp (which also means it is not so obvious to install and configure) but ... despite all those messages, I did not find what I am looking for.

I would like to use proftpd on my mandrake 9.2

I just want to allow access (read / write) to 'anonymous' to the /var/ftp/pub directory.
I also want to make sure that any people logged with that 'anonymous user-id' can list/ updload / download / delete files from that (and only that) location.

It currently seems that I can upload file in /var/ftp but, once the upload is ended, the uploaded file is no more visible for the ftp connection. I can read this in the journal :


227 Entering Passive Mode (192,168,1,100,129,219)
STOR //my_file_to_transfer

150 Opening BINARY mode data connection for //Compiere_251.tar.gz.
226 Transfer complete.
Transfert réussi de /xxx/yyy/zzz à 98793,70 ko/s
SITE CHMOD 777 ///my_file_to_transfer

550 Operation prohibited for anonymous users.

227 Entering Passive Mode (192,168,1,100,129,221)


But I can see the file when I browse directly in /var/ftp/ from a terminal.

I guess that the error message after CHMOD 777 is a partial explanation.
I use gftp as ftp client.

What do I have to do to make them 'visible' after the upload?
What should the proftpd.conf file looks like?
Do I have to define specific users?

Thanks in advance for your help,

Old 05-01-2004, 02:30 PM   #2
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
hey vincent, im not exactly sure about proftpd, but in vsftpd, there is an option to use anonymous access, the rest should be set up in giving anonymous rights and chowning

one thing you could try is

useradd -d /var/ftp/anonymous anonymous

then dont specify a password

again, i dont use proftpd, so i am not exactly sure

then do

chown anonymous /var/ftp/anonymous
chmod 700 /var/ftp/anonymous

then in the proftpd.conf file, set the default umask to 002

sorry i cant be more specific

good luck


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM
how to establish ftp server with proftp to allow anonymous user login icoming Linux - Networking 3 10-12-2004 10:38 AM
Proftp on Slax Change Anonymous Home DIR Linux - Networking 0 05-02-2004 09:20 PM
Anonymous proxy Misteree Linux - Networking 7 08-20-2003 08:56 PM
anonymous ftp jgallas Linux - Newbie 10 08-14-2003 05:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration