[Bug 1201847] [NEW] 13.04 ProFTPd 1.3.4a 'ShowSymlinks off' fails to follow symlinks

John Moser john.r.moser at gmail.com
Tue Jul 16 15:34:11 UTC 2013


Public bug reported:

setting 'ShowSymlinks off' in proftpd.conf and connecting with Filezilla
et al only shows 'not a regular file' type files for symlinks.


With chroot(), relative symlinks targeted inside the chroot should work, and 'ShowSymlinks off' should display such links as directories.  For example, a session chroot() to '/home/jason' should follow '/home/jason/foo/bar -> ../baz' to '/home/jason/baz', and with 'ShowSymlinks off' it should just descend into '/home/jason/foo/baz' and display the directory's contents.

Instead of descending into the directory with 'ShowSymlinks off', it
incorrectly shows the symlink as a file of type 'l', even for a valid
symlink that doesn't point up out of the current root in any component.

Without chroot(), symlinks are shown as files of type 'l' regardless of
ShowSymlinks.  All valid symlinks, relative and absolute, should behave
as described above.

Description:    Ubuntu 13.04
Release:        13.04

** Affects: proftpd-dfsg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of ProFTPD
Maintainance Team, which is subscribed to proftpd-dfsg in Ubuntu.
https://bugs.launchpad.net/bugs/1201847

Title:
  13.04 ProFTPd 1.3.4a 'ShowSymlinks off' fails to follow symlinks

Status in “proftpd-dfsg” package in Ubuntu:
  New

Bug description:
  setting 'ShowSymlinks off' in proftpd.conf and connecting with
  Filezilla et al only shows 'not a regular file' type files for
  symlinks.

  
  With chroot(), relative symlinks targeted inside the chroot should work, and 'ShowSymlinks off' should display such links as directories.  For example, a session chroot() to '/home/jason' should follow '/home/jason/foo/bar -> ../baz' to '/home/jason/baz', and with 'ShowSymlinks off' it should just descend into '/home/jason/foo/baz' and display the directory's contents.

  Instead of descending into the directory with 'ShowSymlinks off', it
  incorrectly shows the symlink as a file of type 'l', even for a valid
  symlink that doesn't point up out of the current root in any
  component.

  Without chroot(), symlinks are shown as files of type 'l' regardless
  of ShowSymlinks.  All valid symlinks, relative and absolute, should
  behave as described above.

  Description:    Ubuntu 13.04
  Release:        13.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/1201847/+subscriptions



More information about the Pkg-proftpd-maintainers mailing list