expose role paths outside /srv/ftp.root via FTP

Bug #1891566 reported by Paul Collins
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Mirror Charm
Fix Released
High
Barry Price

Bug Description

As its name suggests, vsftpd is configured to point at /srv/ftp.root, into which it chroots.

Role paths outside /srv/ftp.root (we have stuff on /srv2 and /srv3 as well) are therefore not exposed over FTP.

Due to the chrootery, symlinks won't work. Hard links to directories aren't a thing (even if they were, not across filesystems) so the only way to handle this is with bind mounts.

Probably the charm should configure these itself. Editing /etc/fstab is one way. Another is to install an init script or such to perform the mounts.

Related branches

Paul Collins (pjdc)
description: updated
Barry Price (barryprice)
Changed in ubuntu-mirror-charm:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Barry Price (barryprice)
Paul Collins (pjdc)
Changed in ubuntu-mirror-charm:
status: In Progress → Fix Released
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.