You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Brandon Lee <th...@hotmail.com> on 2001/10/14 05:33:47 UTC
os-windows/8533: FollowSymLinks not working across Win2K reparse points
>Number: 8533
>Category: os-windows
>Synopsis: FollowSymLinks not working across Win2K reparse points
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Oct 13 20:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: thebrandon@hotmail.com
>Release: Apache/2.0.26-dev
>Organization:
apache
>Environment:
WIN2Ksp2, MSVC++6sp5, updated from public cvs 2001-10-13 ~11pm
>Description:
resolve_symlink is returning the same info in the output stat as input since fillin_fileinfo says that the win2k symlink is APR_LNK
this is because of a recent change since it was working a week ago, in error.log: "symlink doesn't point to a file or directory: C:/dev"
i'm not so familiar with apache so not sure if my conf is okay, but it's the default conf that was installed (installd INSTDIR=...), sorry if my ignorance
fillin_fileinfo(apr_finfo_t * 0x1046fdd0, _WIN32_FILE_ATTRIBUTE_DATA * 0x1046bb54, int 0) line 320
apr_stat(apr_finfo_t * 0x1046fdd0, const char * 0x007e3870, int 33587568, apr_pool_t * 0x007e2bd0) line 536 + 18 bytes
resolve_symlink(char * 0x007e3870, apr_finfo_t * 0x007e2d00, int 4, apr_pool_t * 0x007e2bd0) line 394 + 25 bytes
ap_directory_walk(request_rec * 0x007e2c00) line 822 + 40 bytes
core_map_to_storage(request_rec * 0x007e2c00) line 2619 + 9 bytes
ap_run_map_to_storage(request_rec * 0x007e2c00) line 109 + 78 bytes
ap_process_request_internal(request_rec * 0x007e2c00) line 174 + 9 bytes
ap_process_request(request_rec * 0x007e2c00) line 284 + 9 bytes
ap_process_http_connection(conn_rec * 0x007e0c60) line 289 + 9 bytes
ap_run_process_connection(conn_rec * 0x007e0c60) line 82 + 78 bytes
ap_process_connection(conn_rec * 0x007d0968) line 221
worker_main(int 249) line 907
>How-To-Repeat:
install on a win2k reparse point (disk mount): e.g. "c:\dev\apache2" where "c:\dev" is really d: mounted
>Fix:
no, sorry. is a win2k reparse point really analagous to a symlink? isn't it more similar to a unix mount point? i.e. should it stat to APR_LNK? well not exactly since it can also point to a file. i guess resolve_symlink should really resolve it?
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]