Re: vitrualchroot problem
Jeremy Kitchen <[email protected]> Thu, 1 Dec 2005 14:28:51 -0800
| Newsgroups | gmane.network.pureftpd.user |
|---|---|
| Organization | GreyStar Solutions |
| Message-ID | <[email protected]> |
On Thursday 01 December 2005 02:25 pm, Jeremy Kitchen wrote: > 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 :) to reword this a little more clearly: perhaps bob doesn't have execute permissions on /home/ftp (perhaps /home/ftp/ is owned by the 'ftp' user and has mode 700). Again, I don't know how the permissions work in that situation but it would seem that --bind is simply a lower-level symbolic link :) and to extend this a bit, having a new bind mount for every user just to put a directory tree inside another seems like it wouldn't scale :) -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) iD8DBQBDj3kjyBTJv0gb9+IRAg4PAJ9T0l3wNd8GZfeIXXgYI9ALaA/yAQCfc7v+ JZ0uZOd0K+C8yAF+u7Yedl0= =hyWg -----END PGP SIGNATURE-----