Access denied for symbolic link

IO

Active Member
#1
Hi,

With lsws 2.1.4, the access is denied for all symbolic links (folders and files).

Error log :
Code:
2005-10-24 16:25:17.226 [INFO] [x.x.x.x:61757-0#Main] Found symbolic link, or owner of symbolic link and link target does not match for path [/home/www/images2/logo.gif], access denied.

2005-10-24 16:35:17.725 [INFO] [x.x.x.x:61757-0#Main] Found symbolic link, or owner of symbolic link and link target does not match for path [/home/www/images/test.gif], access denied.
The link are made with :
Code:
ln -s images images2 or ln -s ./images images2 or ln -s /home/www/images images2
---
cd images
ln -s logo.gif test.gif
and owner and group are correct :
Code:
ll
drwxr-xr-x  4 www www 4096 Jan  1  2001 images
lrwxrwxrwx  1 www www   24 Oct 24 16:42 images2 -> images

ll images
-rw-r--r--  1 www www  450 Jan  1  2001 logo.gif
lrwxrwxrwx  1 www www   24 Oct 24 16:42 test.gif -> logo.gif
Config for links in lsws :
Code:
Follow Symbolic Link        Yes 
Check Symbolic Link         No 
Required Permission Mask    0004 
Restricted Permission Mask  0111

OR

Follow Symbolic Link        Yes 
Check Symbolic Link         No 
Required Permission Mask    N/A 
Restricted Permission Mask  N/A
 

mistwang

LiteSpeed Staff
#2
There is vhost level symbolic link configuration which will override the server level configuration. Please click "virtual hosts" link on the left then Click "Edit" action for your vhost.
 
Top