LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   vsFTPd Help (http://www.linuxquestions.org/questions/linux-server-73/vsftpd-help-492830/)

carlosinfl 10-16-2006 10:14 AM

vsFTPd Help
 
Ok - I installed vsftpd on Debian and seems to be up and running. I kept the annonymous login enabled just because this is between friends I trust and nothing important will be on here.

I am assuming that vsftpd uses the "ftp" user account (/home/ftp) as the anon account, right? My question is based from what I have below, should anyone and everyone be able to upload to the the directories or is it locked down? I have not been able to add any data to the ftp server from another machine. I created the README file and those directories via SSH to that machine only.

Code:

cwilliams@shark:/home/ftp$ ls -la
total 24
drwxr-sr-x  5 root nogroup 4096 2006-10-16 01:47 .
drwxrwsr-x  4 root staff  4096 2006-10-16 01:14 ..
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 movies
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 music
drwxr-sr-x  2 root nogroup 4096 2006-10-16 01:47 pics
-rw-r--r--  1 root nogroup  688 2006-10-16 01:59 README.txt


crep 10-16-2006 12:54 PM

There's a setting in the config "Allow anonymous users to change (write?) files" that it looks like you forgot to set.

ukjairaj 10-17-2006 07:21 AM

From your list it seems that you have created those directories and files using root login. And also none of your directories are having write permission to group and others. So it may not be possible to write any new files into these folders. You may have to change it with chmod command.

carlosinfl 10-17-2006 08:26 AM

When you install vsftpd (obviously as root), it creates the "ftp" home directory by default so that is that way vsftpd decided it was to be done. I assume the only use for the "ftp" dir is for anonymous use and nothing more but I could be wrong. :scratch:

shashikant_m 12-02-2006 02:59 AM

vsftpd is dead but subsys is locked


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