Proftpd bug, chroot does not allow for access to or creation of folders named 'lib'
Kurt Jaeger
lists at opsec.eu
Mon Mar 30 13:53:19 UTC 2015
Hi!
> > 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.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198938
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 opsec.eu +49 171 3101372 5 years to go !
More information about the freebsd-ports
mailing list