[Mono-bugs] [Bug 79887][Wis] Changed - DirectoryInfo doesn't honor symbolic links anymore

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 11 08:42:37 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by alex.olk at googlemail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79887

--- shadow/79887	2006-11-11 08:41:31.000000000 -0500
+++ shadow/79887.tmp.14351	2006-11-11 08:42:37.000000000 -0500
@@ -64,6 +64,19 @@
 as Unix does for the file operations.
 
 So what is the cause of this bug then? I only could find
 Directory.Exists as cause via mono --trace which returns False because
 my source files are "behind" a symlinked directory.
 
+
+------- Additional Comments From alex.olk at googlemail.com  2006-11-11 08:42 -------
+Dick, the question is, how do we get any useful information where that
+directory link points to on a unix file system ?
+
+It is true that GetFileAttributes on windows returns info on a
+symlink, but, on windows, a link actually IS a file (doesn't matter if
+it is a file or directory link) with the .lnk extension.
+
+But, a unix symbolic link is NO file. So, returning such a link as
+FileSystemInfo doesn't make much sense. Just the name (or fullname) as
+information is not useful at all.
+


More information about the mono-bugs mailing list