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.