upload works with net-ftp/proftpd-1.3.0a upload do not work with net-ftp/proftpd-1.3.1_rc1 server says 500 or 550 MLST testfile - 500 STOR testfile - 550
Reopen once you've attach the relevant configuration snip and emerge --info output. Works just fine here.
/etc/proftpd/proftpd.conf [...] <Directory upload> <Limit READ WRITE DIRS STOR CWD CDUP> AllowAll </Limit> </Directory> [...] net-ftp/proftpd-1.3.1_rc1 USE="acl ipv6 ldap ncurses pam shaper ssl tcpd [...]" # emerge --info Portage 2.1.2_rc4-r4 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18.4 i686) ================================================================= System uname: 2.6.18.4 i686 AMD Duron(tm) Processor Gentoo Base System version 1.12.8 Last Sync: Tue, 02 Jan 2007 22:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage_dist/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://amd2000:81/portage/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow acl acpi aim alsa apache2 berkdb bitmap-fonts bzip2 cairo cjk cli cracklib crypt cups dlloader dri dvb encode esd exif fam ffmpeg firefox flac fortran gdbm gif gnutls gpm hal iconv icq imlib ipv6 isdnlog jabber jpeg ldap libg++ mad matroska mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oss pam pcre perl png pppd python qt3 quicktime readline reflection sdl session speex spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vhosts vorbis win32codecs wmf x86 xine xml xorg yahoo zlib" ALSA_CARDS="trident" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev vesa v4l vga sis" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'm not sure yet .. but i think the latest proftpd ignores all <Directory ...> statements complettly. I tried: <Directory private> <Limit ALL> DenyAll </Limit> </Directory> or even this: <Directory *> <Limit ALL> DenyAll </Limit> </Directory> This should prevent me from doing anything but i'm still allowed to do what i want. The only Limit which gets ever applied is a global one outside a Directory statement.
It's fixed in rc2 ... copy bump seems to be enough.
From ChangeLog: Move 1.3.1_rc1 to 1.3.1_rc2, which just fixes a few bugs, two of which important/critical, see Gentoo bugs #159066 and #159772. Thanks for reporting, best regards, CHTEKK.