[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

<joke>
Jeff I''m going to make a page on "How to step back in apache time guide"
</joke>

Anyways I remember we went throught this for a while some time back.  I
don't remember what we came up with.  Guess I should look.  So folks with
archive problems I will time my work for you.  It's 6:00 now and I am
starting.....  I'll look under .... hmmm  wellll   ...... ok i'm done and
it's 6:12 and I have tested it on a Raq2 do far.  (Oh and I did feed the
cat)

"As Root"
ln -s /home/sites/home/users/dork/web/ /home/sites/home/web/dork
chown dork.home /home/sites/home/web/dork
(Dork is the cat's/users name btw)

Zeffie
"Made a page too"
http://www.zeffie.com/Symbolic_Links/Changing_User_Address.html