I DID follow exactly what you posted, EACH AND EVERY TIME. Including when you insisted that I switch back to vsftpd even though I had previously indicated that I didn’t want to. I followed your instructions PRECISELY, and yet the ls command still causes the server to hang, and vsftpd still says vsftpd: refusing to run with writable root inside chroot() even though I expressly did not set up a chroot because I don’t need or want it. You only presume that I did.
The way I see it, you’re just refusing to do what is easiest and assured working. You want to do something else, and with each variance you introduce something that might cause a problem and when that happens it’s something new that has to be addressed. When you say you are experiencing the same problem with all 3 different FTP apps,
I haven’t refused to do ANYTHING. I pedantically followed EACH AND EVERY STEP YOU SUGGESTED, none of which did any good so far. How is that refusing anything? I’m still waiting for someone to suggest some actual diagnostic steps to locate and determine the actual cause of these problems, instead of just presumptuously assuming that I’m not following ‘configuration’ instructions.
How about some actual diagnostic steps, since it’s been firmly established that misconfiguration simply isn’t the cause of the problem?
CAN ANYONE ELSE OUT THERE PLEASE PITCH IN WITH SOME DIAGNOSTIC IDEAS? PLEASE?
I can’t believe that with all the people in this forum only one person can participate in this thread! Where’s all the system gurus?
- You might be making the same mistake 3 separate times.
Probably. I tried following your suggestions exactly on each and every one of them. That tells me that the mistakes are in your suggestions.
- I tested vsftpd using ftp in a terminal and found that the ls
command hangs the server until it times out. 1. I tested pure-ftpd using ftp in a terminal and found that the ls
command hangs the server until it times out. 1. I tested proftpd using ftp in a terminal and found that it is not accessible due to the false chroot problem:
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Login failed.
421 Service not available, remote server has closed connection
This doesn’t allow getting to a prompt to enter the ls command.
- I tested all three servers using ftp in a terminal and found that the dir
command also hangs the server in proftpd and pure-ftpd until it times out, and vsftpd is not accessible due to the false chroot problem. [ibid.] 1. I individually tested all three servers
(one at a time) with every web browser on my system (including links,) and found that instead of getting a directory listing it hangs the server in proftpd and pure-ftpd until it times out , and vsftpd is not accessible only due to the false chroot problem. [ibid.]
How would that be “making the same mistake 3 separate times”? Nonsense!
- You might be mistaken that the 3 are exactly the same although they might at first appear to be the same.
That is possible, except when you consider that I test and study the symptoms in each expressly to see if they’re the same or if something different happens. They’re each responding exactly the same - except for vsftpd, which additionally thinks I set up a chroot when I certainly did no such thing.
- You might be right that something common to how you’re installing and configuring all three, if this is the case then it should be the easiest to identify and fix… But I wonder if this is the case.
Then I wonder how to diagnostically test and fix it, if it’s really so easy.
Is there some reason why you might not want to install as I recommended?
What in God’s name makes you presume that I didn’t?
Is there some reason why you want to configure a writeable chroot?
What in God’s name makes you presume that I configured a chroot AT ALL? I didn’t! That’s part of the problem! Why do I keep getting that error when I never configured any chroot at all? I guess I’ll never find out. Something somewhere in the system thinks I configured a chroot in vsftp when I didn’t. You presume the system’s error is right and I am wrong.
Here’s the relevant section from the config file, I copied it to show you that it didn’t get configured. Everything concerning chroot is still commented out. I did not enable chroot in Yast, and this proves it:
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd.chroot_list
#
# Performs chroot with original (non-root) credentials. This is usefull on nfs with squash_root,
# where root becomes nobody and would need -x access.
#allow_root_squashed_chroot=YES
#
…yet I still get "vsftpd: refusing to run with writable root inside chroot()" even though clearly there’s no chroot enabled.
Lastly,
You should stick with one FTP app only.
I had already expressed that I want to do precisely that, but you INSISTED on me switching back to vsftpd instead. So that’s on you not me. I’m going back to proftpd since it doesn’t have any chroot problem and is easier to configure, and I have years of experience configuring it already.
If you do that, I can help you work through it… But if you jump from one FTP app to another, that’s too much to keep straight.
I agree. That’s why I said that I want to stick to using proftpd only. But you insisted that I change back to vsftpd instead, and now you’re blaming me for switching again. WTF?!!!
I’d recommend opening up a separate thread for each FTP app if you want to try to find a solution for any or each.
Good idea. Maybe I can get some fresh minds with fresh ideas that way. I’m getting exhausted trying to find solutions to far too many problems on this Leap 42.2, so many that I think they should have named it Flop 42.2. I have several weird problems with other things making me think there’s probably a connection. There’s problems with calibre, vuze, Compositor, X, and all my browsers as well as with the ls/dir command in ftp. I don’t think all these weird problems are just coincidences either. I just can’t figure out how they may all be connected. But opening a separate thread for each problem seems like it might be counterproductive should there be one common cause for all of it. I don’t want to dismiss that possibility a priory.
Now I will make a presumption of my own. I will now presume that besides just scolding me while presuming I wasn’t following your instructions when I actually was, that you also took the time to examine the ftp server and see that I did switch back to vsftp simply because you insisted on it. However, as I also stated in my previous reply, I will now permanently remove vsftp and will not ever try to use it again. I prefer proftpd since in 13.2 and all my previous installations I had only used proftpd, and like it. I don’t know what possessed me to allow the opensuse installer to default to installing vsftpd.