Re: vitrualchroot problem

Jeremy Kitchen <[email protected]> Thu, 1 Dec 2005 14:25:20 -0800
Newsgroups gmane.network.pureftpd.user
Organization GreyStar Solutions
Message-ID <[email protected]>
On Thursday 01 December 2005 02:21 pm, Christopher Jazinski wrote:
> Hello i'm having problems with pure-ftpd i have compiled it with
> --with-vituralchroot and i'm still not allowed to follow the symlinks.

what are the homedirs for the users?  IIRC, virtualchroot requires the homedir 
to end with a /./, so for instance, bob's homedir might be:
/home/ftp/bob/./

> i've also mounted the drives using mount--bing /drive /home/ftp/etc...
> they show up in the home users folder as folders but when on ftp i can't
> open them i get a 550 permission denied. Thanks.

I've never done any --bind mounting, however you may want to look at the 
'real' permissions above the directory you're mounting, for instance:
/home/ftp/pub
/home/bob
mount --bind /home/ftp/pub /home/bob/pub

perhaps /home/ftp doesn't have execute permissions for bob.  I'm not sure if 
that makes a difference, but it's something to look at :)

-Jeremy

-- 
Jeremy Kitchen ++ [email protected]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDj3hQyBTJv0gb9+IRAvcaAKDM/zY6O1/NQDBZqxx3qj/RmdPgwQCeKrLk
gPbuUU/iFAwbVjdK31zp4vA=
=Prqo
-----END PGP SIGNATURE-----