public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vsftpd: how can I chroot both anon and auth users to the same dir?
@ 2011-08-10 16:37 Jarry
  2011-08-10 17:35 ` Michael Orlitzky
  2011-08-10 18:36 ` Paul Hartman
  0 siblings, 2 replies; 6+ messages in thread
From: Jarry @ 2011-08-10 16:37 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-19 18:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-08-10 18:36 ` Paul Hartman
2011-08-19 18:44   ` Jarry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox