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 1QrBoY-0007qd-TA for garchives@archives.gentoo.org; Wed, 10 Aug 2011 16:39:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D4CD21C0DB; Wed, 10 Aug 2011 16:39:19 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id D8AE521C02F for ; Wed, 10 Aug 2011 16:38:20 +0000 (UTC) Received: by fxd23 with SMTP id 23so1354931fxd.40 for ; Wed, 10 Aug 2011 09:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=V0wF5gG1NUxR7cWpBgQtFQ6o7vvtU+Zz/SF8ZVKR+pU=; b=nzx6Hj1D7J9HdfFuHYjEavsBCy415V7JgS7owMyIGSEv7rNvOv5f9yuZH4lnXxIjRe GPm7FpwGFQlhesDa/GEaM0G1UnMsafuxgQHV+OGc4XSDnZNne4uNQeLo/8hFuwsJxtY6 zz5pX5kK20CQxXro34NGSl+muVlpUuQ/do9gs= Received: by 10.223.68.136 with SMTP id v8mr3943856fai.54.1312994300072; Wed, 10 Aug 2011 09:38:20 -0700 (PDT) Received: from [10.0.0.11] ([88.151.72.89]) by mx.google.com with ESMTPS id q3sm410198faa.39.2011.08.10.09.38.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 09:38:19 -0700 (PDT) Message-ID: <4E42B3CE.3070004@gmail.com> Date: Wed, 10 Aug 2011 18:37:34 +0200 From: Jarry User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 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: [gentoo-user] vsftpd: how can I chroot both anon and auth users to the same dir? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: c5e636a3d36781fd21df79da1a422f09 Hi, I'm using vsftpd and I'm quite satisfied, except for one problem which I can not solve: Anonymous users are chrooted to base ftp-server directory /home/ftp but local users are chrooted to their own directories /home/ftp/$USER and they can not move higher. The only way for them to see directories of other local users is to log-off and log-in as anonymous. This is not very convenient. Why should authenticated user be allowed less (in this particular aspect) than anonymous? So I'd like to change it the way that both anonymous as well as local users are chrooted to base ftp directory /home/ftp but I do not know how to do it. Whe I remove "chroot_local_users=YES" from vsftpd.conf, local users are not chrooted at all, and can move around the whole system up to /. And when I let that "chroot_local_users=YES" activated, they are chrooted to home-dirs. So how can I solve this problem? Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.