Click to See Complete Forum and Search --> : Ftp breaks


m3rlin
11-19-2001, 07:52 AM
I have an ftp server proftpd and everthing is working fine, but there is a problem when someone is downloading. The ftp server goes "down", it simply says permission not permited and the session stays up but cannot execute any command.
And the other question, where do i see all of my logs, like security ones, software, stuff like that.
Thanks for your support

berb
11-19-2001, 11:19 AM
The information will be in /var/log/?xx? where the ?xx? depends on the flavor du Linux you are using, look aroung in there and sonething will pop up :;. Are you running the ftp proggy as root? That would stop them. Best to make a user 'ftp' in home (adduser ftp) and let people log into you that way. Also, and I hate to do this but, did you check the man and info pages for configuration help. There may also be good info in a web search. (what a nice way to RTFM).

m3rlin
11-19-2001, 05:27 PM
Well i have proftpd deamon running, everthing is fine, no one can't change directory, no one can login using the ftp account(telnet, or ssh,...), the security is good, my problem is that when you try to do a download, it works fine in the beggining, but then it stops, but you still have the connection, but you can't send commands, or download files, what coud be wrong here?
Thanks

m3rlin
11-19-2001, 07:07 PM
Im thinking that if i compact the directory and download will work fine, because, it starts to return errors when he enters in a sub directory and tries to download the files in it.

MGP
11-20-2001, 12:55 AM
Did you create the subdirectories as "root"? What are the permissions set for on the subdirectory? I'll bet that's what the problem is. I screwed up and did that once... :o

m3rlin
11-20-2001, 05:31 PM
What should be the permissions to put? Remember that i just wannt ppl to download. And how can i give the correct permissions without going to the subdirectorys. Something like chmod 555 /dir
and all the sub dirs would have the same permission (555)
how do i do that, if it's possible.