Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks out of chroot aren't followed #9235

Closed
cyberduck opened this issue Jan 28, 2016 · 1 comment
Closed

Symlinks out of chroot aren't followed #9235

cyberduck opened this issue Jan 28, 2016 · 1 comment

Comments

@cyberduck
Copy link
Collaborator

b65daf3 created the issue

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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?

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant