adding a link in the home directory

3 posts / 0 new
Last post
#1 Tue, 08/05/2008 - 13:49
testdog

adding a link in the home directory

I am migrating domains from cpanel. I would like to create a link in the users home directory so every time I add a domain there is a link from httpdocs pointing to public_html. This way the customer that has already setup the ftp program to go to the httpdocs directory they would land in public_html. This would keep our support calls down. Has anyone else done this or can tell me how?

Tue, 08/05/2008 - 14:26
Joe
Joe's picture

I believe you'd just want to add a relative link to your skel (which defaults to /etc/skel for virtual server owners). e.g.:

mkdir /etc/skel/public_html
cd /etc/skel
ln -s public_html httpdocs

You'll want to test that, as I've never actually done it before...but it seems likely to work. ;-)

--

Check out the forum guidelines!

Wed, 08/06/2008 - 07:38
testdog

Work great thanks Joe.

Topic locked