[Bug 6116] Cannot access files in exposed shadow drive in version 3.0.5
samba-bugs at samba.org
samba-bugs at samba.org
Wed Apr 20 18:56:47 MDT 2011
https://bugzilla.samba.org/show_bug.cgi?id=6116
--- Comment #8 from Matt McCutchen <matt at mattmccutchen.net> 2011-04-21 00:56:47 UTC ---
(In reply to comment #7)
> The global variable curr_dir starts out correctly containing
> "/cygdrive/c/Downloads/rsync308" but when the call to
> change_dir(cygdir/g) is made, it has been trashed by a NULL character and
> contains "/\000ygdrive/c/Downloads/rsync308".
In other words, the null-terminated string "/". I would imagine that is
intentional.
> When the call to chdir(curr_dir) is made, the curr_dir variable contains
> "//cygdrive/g\000ownloads/rsync308" (note the double forward slash)
A double slash is a UNC path on Windows, so that would explain the error.
(That sloppiness would go unpunished on Linux.) The question is where the
double slash is coming from.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list