Web Hosting Talk







View Full Version : Problem with symlink


X-TechMedia
11-08-2002, 09:53 AM
Im trying to create a symlink in a users folder, but it doesnt work.

im trying to make a link to /home/icartbk using:

cd /home/mnahost
ln -s /home/icartbk /icart

but if i FTP in to the account and try and access icart it returns:

COMMAND:> CWD icart
550 icart: No such file or directory

I know the directory exists, and there are files in it.

Am I supposed to do somthing else?

MarkIL
11-08-2002, 10:07 AM
cd /home/mnahost;ln -s /home/icartbk icart

Drop the / off the icart.

X-TechMedia
11-08-2002, 10:13 AM
Nope!

still doesnt work.......its still says no such file or directory

there must be somthing else ive missed

MarkIL
11-08-2002, 10:21 AM
Not all daemons will follow symlinks (due to security reasons or due to chroot()'ing).

Which daemon are you running and is it chrooted()?

X-TechMedia
11-08-2002, 10:27 AM
how do i find that out ?

i would of thought it would work as it already has /www pointing to /home/user/public_html