[Mono-bugs] [Bug 54855][Nor] New - File.Delete : UnauthorizedAccessException does not report correct path

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 25 Feb 2004 14:51:13 -0500 (EST)


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 gert.driesen@pandora.be.

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

--- shadow/54855	2004-02-25 14:51:13.000000000 -0500
+++ shadow/54855.tmp.12919	2004-02-25 14:51:13.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 54855
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo Linux 1.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: File.Delete : UnauthorizedAccessException does not report correct path
+
+When, for example, you try to delete a file in a read-only directory, the
+UnauthorizedAccessException that is thrown does not mention the correct
+path, instead the following message is generated :
+
+Access to the path "" is denied.
+
+I attached a repro and a patch for this issue.