Bug 170203 - mc has unintuitive behaviour w.r.t. FTP
Summary: mc has unintuitive behaviour w.r.t. FTP
Alias: None
Product: Fedora
Classification: Fedora
Component: mc   
(Show other bugs)
Version: 4
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-10-09 00:00 UTC by Florin Andrei
Modified: 2013-07-02 23:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-26 21:31:37 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Florin Andrei 2005-10-09 00:00:02 UTC
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.
Enter "user@host/home/user"
Enter password.
Now I landed in /home/user directly, which is fine.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.see above

Actual Results:  see above

Expected Results:  see above

Additional info:

Why add "/home/user"? Pretty much any other FTP client ends up in /home/user automatically.

Comment 1 Leonard den Ottolander 2005-10-26 21:31:37 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.