Cyberduck Mountain Duck CLI

#9235 closed defect (worksforme)

Symlinks out of chroot aren't followed

Reported by: garantiertnicht Owned by:
Priority: normal Milestone: 4.8
Component: core Version: 4.7.3
Severity: normal Keywords:
Cc: Architecture: Intel
Platform: Mac OS X 10.11

Description

I'm having a FTP-Server wish chroots every user in their /User/xy directory. But because of you need to edit other files too sometimes, I created symlinks out of the jail. Cyberduck and Mountain Duck try to resolve the Orginal Path, and this is failing.

Things to reproduce:

  • Create a FTP-Server wish supports chroot (I'm using PureFTPd)
  • Enable chrooting
  • create a chroot wish points OUTSIDE the chroot.

Cyberduck will not show this Files, Mountain duck will fail with an error (see attachment) In Cyberduck I could fix this issue myself by commenting the part wish tries to look the origin Path out.

Attachments (1)

20160128161519-show.png (31.0 KB) - added by garantiertnicht on Jan 28, 2016 at 3:30:29 PM.
Mountain Duck tries to look up Path of symlink outside of chroot

Download all attachments as: .zip

Change History (3)

Changed on Jan 28, 2016 at 3:30:29 PM by garantiertnicht

Mountain Duck tries to look up Path of symlink outside of chroot

comment:1 Changed on Jan 29, 2016 at 9:07:01 AM by dkocher

  • Milestone set to 4.8

I do not understand what your expected behaviour would be. A symbolic link target outside the chroot jail is clearly not accessible and the error message in Finder trying to resolve the link is expected. Can you elaborate, please?

comment:2 Changed on Feb 9, 2016 at 8:20:39 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.