[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to give users ftp access to their sites safely



On Fri, Sep 23, 2005 at 02:25:22AM -0500, R. W. Rodolico wrote:
> The problem is that some users need ftp access to their web sites
> also. Symbolic links don't work because the link refers to something
> outside the chroot root. So, I did a mount --bind for each user to
> the web site they needed to access. This results in about 30 mounted
> directories, problems on backup, and funky displays when I try to
> issue the df command to see how much space I have. I can work around
> all of these, but . . .
> 
> I'm sure there is a much better way. I don't mind changing the
> directory structure around if I need to.
> 

Did you consider autofs? It is scriptable and usable to automagically mount 
a directory on demand and umount when no more used.

-- 
Francesco P. Lovergine



Reply to: