Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
PASV
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?
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217
Rep:
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
then
chmod 700 /var/ftp/anonymous
then in the proftpd.conf file, set the default umask to 002
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.