On 10-Aug-11 19:35, Michael Orlitzky wrote:

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.

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

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).

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...

Jarry

--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Reply via email to