From owner-freebsd-ports@FreeBSD.ORG Mon Mar 30 13:31:11 2015 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 252DCFCB; Mon, 30 Mar 2015 13:31:11 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0BDECB; Mon, 30 Mar 2015 13:31:10 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id CEDD928426; Mon, 30 Mar 2015 15:31:00 +0200 (CEST) Received: from illbsd.quip.test (ip-89-177-50-74.net.upcbroadband.cz [89.177.50.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 9FC5F28428; Mon, 30 Mar 2015 15:30:59 +0200 (CEST) Message-ID: <55195013.3090509@quip.cz> Date: Mon, 30 Mar 2015 15:30:59 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Paul Macdonald , freebsd-ports@FreeBSD.org, FreeBSD Questions , info Subject: Re: Proftpd bug, chroot does not allow for access to or creation of folders named 'lib' References: <551460C0.3060609@ifdnrg.com> In-Reply-To: <551460C0.3060609@ifdnrg.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 13:31:11 -0000 Paul Macdonald wrote on 03/26/2015 20:40: > > > AFFECTS > 10.1 > > BUG: > > Proftpd with chroot on does not allow for the creation of or > uploading to folders named 'lib' > > I have installed proftpd-basic_1.3.4a-5+deb7u2_armhf.deb onto a > raspberry pi to test if problem is upstream and can create and upload to > 'lib' folders there. > > As many wordpress plugins use such folders, this is quite problematic. > > I'd appreciate it if anyone else can test this ( i've tried on > several servers) 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) Miroslav Lachman -- [L] 257 "/" is the current directory [L] PASV [L] 227 Entering Passive Mode (192,168,105,10,218,51). [L] Opening data connection IP: 192.168.105.10 PORT: 55859 [L] LIST -al [L] 150 Opening ASCII mode data connection for file list [L] TLSv1 (DHE-RSA-AES256-SHA 256 Bits) [L] 226 Transfer complete [L] List Complete: 607 bytes in 5,00s (0,00KB/s) [L] PASV [L] 227 Entering Passive Mode (192,168,105,10,218,51). [L] Opening data connection IP: 192.168.105.10 PORT: 55859 [L] STOR readme.txt [L] 150 Opening ASCII mode data connection for readme.txt [L] TLSv1 (DHE-RSA-AES256-SHA 256 Bits) [L] 226 Transfer complete [i] readme.txt 50 575bytes/5,36(s)/0,00Kbps [i] Transfer queue complete [i] Transfered 1 file(s) - Total: 50 575 byte(s) in 5,36 (0,00 KBps) [L] PASV [L] 227 Entering Passive Mode (192,168,105,10,215,174). [L] Opening data connection IP: 192.168.105.10 PORT: 55214 [L] LIST -al [L] 150 Opening ASCII mode data connection for file list [L] TLSv1 (DHE-RSA-AES256-SHA 256 Bits) [L] 226 Transfer complete [L] List Complete: 681 bytes in 5,00s (0,00KB/s) [L] CWD lib [L] 250 CWD command successful [L] PWD [L] 257 "/lib" is the current directory [L] PASV [L] 227 Entering Passive Mode (192,168,105,10,215,158). [L] Opening data connection IP: 192.168.105.10 PORT: 55198 [L] LIST -al [L] 150 Opening ASCII mode data connection for file list [L] TLSv1 (DHE-RSA-AES256-SHA 256 Bits) [L] 226 Transfer complete [L] List Complete: 499 bytes in 5,00s (0,00KB/s) [L] PASV [L] 227 Entering Passive Mode (192,168,105,10,216,54). [L] Opening data connection IP: 192.168.105.10 PORT: 55350 [L] STOR readme.txt [L] 550 readme.txt: Permission denied [L] Transfer Failed