LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Access denied for symbolic link

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2005, 08:45 AM
IO IO is offline
Member
 
Join Date: Sep 2005
Posts: 26
Default Access denied for symbolic link

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
Reply With Quote
  #2  
Old 10-24-2005, 09:17 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #3  
Old 11-03-2005, 05:25 PM
IO IO is offline
Member
 
Join Date: Sep 2005
Posts: 26
I doesn't see it... it is now ok, thank you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual host access deny directory jrmarino Install/Configuration 1 04-17-2007 10:19 AM
access denied list joe89 Install/Configuration 2 04-03-2006 11:19 AM
Scripting is disabled for VHost [ApacheMain], access denied teledyn Install/Configuration 8 10-19-2005 06:45 PM
Access denied directories don't exist? wx4u Install/Configuration 1 05-14-2005 11:14 PM
Missing script handler for suffix '.php', access denied! ts77 Install/Configuration 5 03-31-2005 01:54 PM


All times are GMT -7. The time now is 08:15 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.