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

Bug #1201847 reported by John Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
proftpd-dfsg (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.