From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QrDNw-0000cm-TK for garchives@archives.gentoo.org; Wed, 10 Aug 2011 18:20:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A62A21C06A; Wed, 10 Aug 2011 18:20:00 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) by pigeon.gentoo.org (Postfix) with ESMTP id 6374021C202 for ; Wed, 10 Aug 2011 18:19:05 +0000 (UTC) Received: from [10.1.1.204] (unknown [65.213.236.244]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id A1AA937ADD for ; Wed, 10 Aug 2011 14:19:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1313000344; bh=h198oxWykEW3e248hBQyDuOeiFCsdfmzVmkLC1nO19k=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=CuZezv1jryNmG0DGAvXri5ii8VQJpdLsT1D7N7UyxmAuGPd7lVeUv4Glo6PUXge7s OZUgE6t+oi36ATPEy2jOHM12BciM848XSHbtA4Q7kUMRx7hXpNDZ33VnqLIzW6Ki+b ENzVasTxpWs/+VvuziwK3E6dKqJWshsvLQS1Vvc8= Message-ID: <4E42CB98.40500@orlitzky.com> Date: Wed, 10 Aug 2011 14:19:04 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110715 Lightning/1.0b3pre Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] vsftpd: how can I chroot both anon and auth users to the same dir? References: <4E42B3CE.3070004@gmail.com> <4E42C152.5070401@orlitzky.com> <4E42C546.4080308@gmail.com> In-Reply-To: <4E42C546.4080308@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: ec17b2df48ef950064955a3c98fa1a22 On 08/10/11 13:52, Jarry wrote: > > If I wanted to have one more problem (anonymous users not > able to access local users' files) I would do it... :-) > > I'll try to explain it one more time. I have local users > "user1", "user2", "userX" and their home directories are: > /home/ftp/user1 > /home/ftp/user2 > /home/ftp/userX > > Anonymous users are chrooted to /home/ftp, so they can access > files stored in /home/ftp/user1 (user2, userX). That is OK, > that is what I want. But local user1 is chrooted to > /home/ftp/user1, so he can't access files in /home/ftp/user2 > (or /home/ftp/userX). Oh, ok. I didn't realize you wanted all users to be able to see the same hierarchy. I figured you were allowing anonymous users more access just to avoid the logical inconsistency =) > And *this* is what I want to solve: to give local users > the same possibility to access other users' files (if file > access permissions allow it, of course). So I want to chroot > local users to the very same /home/ftp directory where > anonymous users are chrooted, but I do not know how... Are they local users? Change their home directories to /home/ftp.