[Pkg-mc-devel] [Bug 508785] Re: Symbolic links by FTP connection are opened as absolute path

Yury V. Zaytsev yury at shurup.com
Mon Feb 20 17:30:20 UTC 2012


It is my impression that if this can still be reproduced with latest mc,
this could be a design choice and this has to be brought up with
upstream developers.

-- 
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in Ubuntu.
https://bugs.launchpad.net/bugs/508785

Title:
  Symbolic links by FTP connection are opened as absolute path

Status in “mc” package in Ubuntu:
  Incomplete

Bug description:
  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:

  /var/www/login/
  |-logs
  |-ftp
  | |- 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.

  Ubuntu 9.10
  mc 2:4.6.2-2ubuntu1

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Jan 17 16:05:00 2010
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: fglrx
  Package: mc 2:4.6.2-2ubuntu1
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
  SourcePackage: mc
  Uname: Linux 2.6.31-17-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mc/+bug/508785/+subscriptions



More information about the Pkg-mc-devel mailing list