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 14:19:04 -0400 [thread overview]
Message-ID: <4E42CB98.40500@orlitzky.com> (raw)
In-Reply-To: <4E42C546.4080308@gmail.com>
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.
next prev parent reply other threads:[~2011-08-10 18:20 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
2011-08-10 17:52 ` Jarry
2011-08-10 18:19 ` Michael Orlitzky [this message]
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=4E42CB98.40500@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