https://issues.apache.org/bugzilla/show_bug.cgi?id=49114
Summary: NTFS junction directories missing from directory
listing
Product: Apache httpd-2
Version: 2.2.13
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: major
Priority: P2
Component: mod_dav
AssignedTo: [email protected]
ReportedBy: [email protected]
If a directory made available through Apache WEB DAV module, contains folders /
directories made / linked with NTFS junction, these folders are not shown in a
directory listing.
I have really tried to figure out why, and as far I can tell it is because the
function building the directory tree don't accept NTFS junctions as directories
or any other kind of file for that matter.
Looking in the source code I found this some code in repos.c that might be
responsible for building the directory tree.
else if (fsctx->info1.finfo.filetype == APR_DIR) {
apr_size_t save_path_len = fsctx->path1.cur_len;
apr_size_t save_uri_len = fsctx->uri_buf.cur_len;
apr_size_t save_path2_len = fsctx->path2.cur_len;
...
== APR_DIR tells me that somewhere in the code APR_DIR is valid for normal
folders but not for NTFS junctions... can that be changed or will it be
possible to say something like this.
else if (fsctx->info1.finfo.filetype == APR_DIR || APR_NTFS_JUNCTION)..
Oh when activating the INDEXES option in a site config, the function generating
the HTML to show the folder / file structure is able to show the directories
made with NTFS junction. But I couldn't find that code, to see how it
recognized directories made with NTFS junctions.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]