"Fake root" not working correctly

76 views
Skip to first unread message

Nikola S

unread,
Aug 31, 2009, 7:54:40 AM8/31/09
to Pureadmin Discussions
I have two users - user1 and user2 - and for each I define the home
directory and fake root to be the same, i.e., /home/ftpusers/user1 for
user1 and /home/ftpusers/user2 for user2. I would expect that each of
them would be chrooted in their respective home directory and not be
able to see the others' files. However, both can access everything
within /home/ftpusers/.

I've followed the installation instructions from https://help.ubuntu.com/community/PureFTP,
restarted the ftp service after each change, and still the same. Also,
'pure-pw show user1' shows that the home directory is indeed /home/
ftpusers/user1/./, meaning that virtual users should be working fine!
Any suggestion would be much appreciated.

Cheers,
Nikola

Isak Savo

unread,
Aug 31, 2009, 10:35:26 AM8/31/09
to pureadmin-...@googlegroups.com

Is there any difference if you (as root) run: pure-pw mkdb

This will rebuild the database and apply the changes to the ftp server

-Isak

Nikola S

unread,
Aug 31, 2009, 4:38:10 PM8/31/09
to Pureadmin Discussions
On Aug 31, 3:35 pm, Isak Savo <isak.s...@gmail.com> wrote:
> On Mon, Aug 31, 2009 at 1:54 PM, Nikola S<nikolasprl...@gmail.com> wrote:
[cut]
> Is there any difference if you (as root) run: pure-pw mkdb
>
> This will rebuild the database and apply the changes to the ftp server

Thanks for the prompt response!
Yes, that actually helped, now it's working absolutely fine.
Thanks again,

Nikola
Reply all
Reply to author
Forward
0 new messages