Red Hat Bugzilla – Bug 170203
mc has unintuitive behaviour w.r.t. FTP
Last modified: 2013-07-02 19:09:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
Description of problem:
I am using mc as an FTP client. The server is a machine running FC4 and vsftpd.
Fire up mc, F9, then go to "FTP link"
I enter "user@host" then hit ENTER.
I enter the password.
At the next screen I am presented with the root (/) directory of the filesystem on that machine. If I try to navigate to /home/user it fails.
Kill mc, then re-run it.
F9, "FTP link" again.
Now I landed in /home/user directly, which is fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: see above
Expected Results: see above
Why add "/home/user"? Pretty much any other FTP client ends up in /home/user automatically.
Looks more like an ftp server config issue. If you want your users chrooted you
should configure your server as such. Not being able to cd to /home/user looks
like a permissions issue.
Wrt the question whether the ftp client should move the user to its home
directory: That's a matter of personal preference. The ftp clients I know need
me to specify this (usually in a config file). You should be able to use "~" though.
Closing this bug "WONTFIX". If you really feel strongly about mc auto-cding to ~
for ftp you should take this upstream.