httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@liege.ICS.UCI.EDU>
Subject Re: WWW Form Bug Report: "FollowSymLinksIfOwnerMatch and automounting don't mix well" on Solaris 2.x
Date Sun, 24 Nov 1996 02:23:48 GMT
There is an easy fix for automounting:

<Directory />
AllowOverride None
Options FollowSymLinks
order deny,allow
deny from all
</Directory>

which is what everyone should have in their access.conf, in my opinion.

>>***************
>>*** 125,130 ****
>>--- 125,133 ----
>>  		    
>>      if (!(res >= 0) || !S_ISLNK(lfi.st_mode)) return OK;
>>  
>>+     /* 960830 - DRL - VUSE addition - follow any symlinks owned by root */
>>+     if (lfi.st_uid == 0) return OK;
>>+ 
>>      /* OK, it's a symlink.  May still be OK with OPT_SYM_OWNER */
>>      
>>      if (!(opts & OPT_SYM_OWNER)) return FORBIDDEN;

I would support the one-line change as well.


 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92697-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/

Mime
View raw message