Re: vitrualchroot problem
Christopher Jazinski <[email protected]> Thu, 01 Dec 2005 21:53:30 -0600
| Newsgroups | gmane.network.pureftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2005-12-01 at 14:25 -0800, 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'm only allowing one user entitled 'ftp'. The directory it's pointing to is /home/ftp/ I'm not sure what you mean by them needing to end with a ./ just create another empty dir? > > > 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 the directory's i'm trying to mount are all ntfs so they are only read&only which is fine. I'm just having the problem of listing the drive within the ftp, i'm assuming downloading will be alright, however upload is unallowed by default therefore invalid. Thanks for the help gents. > > 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 > --------------------------------------------------------------------- To post a new message, e-mail: [email protected] To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]