PDA

View Full Version : Access denied for symbolic link


IO
10-24-2005, 09:45 AM
Hi,

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

Error log :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 :
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 :
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 :
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
10-24-2005, 10:17 AM
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.

IO
11-03-2005, 06:25 PM
I doesn't see it... it is now ok, thank you.