LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   vsftpd problem (https://www.linuxquestions.org/questions/linux-networking-3/vsftpd-problem-435128/)

krneki 04-14-2006 11:31 AM

vsftpd problem
 
Hello!

I'm new to this forum and I came across with little problems on my FTP server. First I have to apologize for opening another thread about vsftpd, but I couldn't find similiar problem in any other thread.
I have installed vsftpd, configured it and created user "ftp". The vsftpd is now configured to allow anonymous ftp without creating files or folder permission and also possibility to allow normal users to login into their accounts throught ftp.
Great, everything works fine now except that I don't know how to upload something into public dir, so anonymous users would be able to download files (and not upload/delete them). I'm asking you now what is the easiest way to allow normal users to upload something to public dir. It would be ideal if users could have private and public directory in their accounts, so nobody could access private directories except owner of this directory (=user) and also anonymous users could access public directories of users, but that is probably pretty hard to configure. So I came across with idea that I should create a new account, like ftp2 which would be password protected and everyone who would login into ftp2 account could upload files in the /var/ftp dir, which would be accessible by anyone, so anonymous users.
If you have any other ideas, please share them to me.

Thank you for the further help!

Best regards,
krneki

raskin 04-15-2006 12:16 PM

Make directory in /home/ftp and give some subdir to every authorized user with read-for-all permissions. I guess it should help. Also chmod private dirs as unreadable for others.

krneki 04-15-2006 01:17 PM

Sorry to be annoying but can you give me direct sintaxes for that commands? I'm really not expert on linux area.

Thanx!


All times are GMT -5. The time now is 09:33 PM.