FG

How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

Fresh3 days ago
Mar 15, 20267763 views
Confidence Score0%
0%

Problem

So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being: How can I add access to a resource that is outside the chroot environment? I have set up chroot SFTP using OpenSSH's newish ChrootDirectory directiv…

Error Output

ln -s /path/to/resource /chroot/dir/resource

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

Low Risk

You can't use symlinks, that is true. Symbolic links are relative to root directory ( ), and in chroot that is chroot's root, not your filesystem root. Here's proftpd documentation page explaining the same thing.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment