Proftpd bug, chroot does not allow for access to or creation of folders named 'lib'

Kurt Jaeger lists at
Mon Mar 30 13:53:19 UTC 2015


> > I can confirm this problem on FreeBSD 8.4-RELEASE i386 with 
> > proftpd-1.3.5_2
> >
> > Is some patch available to fix this? (I cannot disable DefaultChroot)
> >
> a bug report has been filed.

I've updated the PR with some short info what I found. Basically,
there's a special case in src/fsio.c which explicitly denies
writing to /etc and /lib in the chroot-case, refering to 3 year
old AUSCERT warnings for proftpd with FreeBSD.

Someone needs to check whether those warnings still apply to current-day
proftpd and freebsd.

pi at            +49 171 3101372                         5 years to go !

More information about the freebsd-ports mailing list