Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159772 - <Directory ...> config options get ignored in net-ftp/proftpd-1.3.1_rc1
Summary: <Directory ...> config options get ignored in net-ftp/proftpd-1.3.1_rc1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 12:43 UTC by Mario Bachmann
Modified: 2007-01-25 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Bachmann 2007-01-02 12:43:47 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 14:02:41 UTC
Reopen once you've attach the relevant configuration snip and emerge --info output. Works just fine here.
Comment 2 Mario Bachmann 2007-01-02 14:37:33 UTC
/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
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2007-01-19 21:42:48 UTC
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.
Comment 4 Christian Birchinger (RETIRED) gentoo-dev 2007-01-19 22:07:42 UTC
It's fixed in rc2 ... copy bump seems to be enough.
Comment 5 Luca Longinotti (RETIRED) gentoo-dev 2007-01-25 13:04:57 UTC
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.