[Pkg-mc-devel] [Bug 508785] Re: Symbolic links by FTP connection are opened as absolute path
508785 at bugs.launchpad.net
Tue Oct 12 10:37:55 UTC 2010
This is a bug, because you can not open some paths and get to such
directory content on the FTP server. Midnight Commander nor Nautilus can
be used for accessing paths outside of the FTP root directory which are
created as symbolic links. FileZilla on Linux has no problem, I can open
symbolic links, because FileZilla opens it as link name, not as
absolute/relative path. Midnight Commander or Nautilus should open the
link with CWD logs and not CWD /var/www/login/logs
Today I have:
what is possibly not the newest package. I will try to upgrade to 10.10
in 2-3 weeks and can test it again.
Symbolic links by FTP connection are opened as absolute path
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in ubuntu.
Status in “mc” package in Ubuntu: New
Binary package hint: mc
I am using Pure-FTPd on server, which allows symbolic links in virtual chroot to go outside of the chroot. I tryied 4 different FTP clients on Windows, everyone opens the symbolic link correctly (CWD linkname), but when I try it with Midnight Commander, he tryies open the link with absolute path:
Server directory structure:
| |- logs -> /var/www/login/logs
| |- somefiles
Chroot is on ftp directory. When I try some FTP clients, everyone opens the logs symlink with 'CWD logs' but Midnight Commander executes 'CWD //var/www/login' (this I get from packet sniffer, perhaps he tryies to open the absolute path, then the requested directory).
I just tryied the Nautilus, the behaviour is the same as Midnight Commander, FileZilla works ok.
Date: Sun Jan 17 16:05:00 2010
DistroRelease: Ubuntu 9.10
Package: mc 2:4.6.2-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
Uname: Linux 2.6.31-17-generic x86_64
More information about the Pkg-mc-devel