public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <michael@orlitzky.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] vsftpd: how can I chroot both anon and auth users to the same dir?
Date: Wed, 10 Aug 2011 13:35:14 -0400	[thread overview]
Message-ID: <4E42C152.5070401@orlitzky.com> (raw)
In-Reply-To: <4E42B3CE.3070004@gmail.com>

On 08/10/11 12:37, Jarry wrote:
> 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?

Why not just chroot anonymous users to /home/ftp/public?



  reply	other threads:[~2011-08-10 17:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 16:37 [gentoo-user] vsftpd: how can I chroot both anon and auth users to the same dir? Jarry
2011-08-10 17:35 ` Michael Orlitzky [this message]
2011-08-10 17:52   ` Jarry
2011-08-10 18:19     ` Michael Orlitzky
2011-08-10 18:36 ` Paul Hartman
2011-08-19 18:44   ` Jarry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E42C152.5070401@orlitzky.com \
    --to=michael@orlitzky.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox