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

Re: [cobalt-users] Symbolic Link from web to user/web directory



Zeffie wrote:

> > I then made a symbolic link (directory to directory) so the original url
> still works...
> > from /home/sites/www.domain.com
> > ln -s users/user1/web/project web/project
> 
> Apache dosen't follow sym links without some adjustment which becomes a
> large security hole that you want to avoid.

Zeffie,

The way I generally solve this is to create a symlink from the user's
home directory to the web subdirectory, and then chown the subdirectory
(and all the files/subdirectories in it) to the user and his group. 
Then the user can ftp directly to the directory and administer it from
his ftp program.  What do you think of this idea?

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205