[Mono-bugs] [Bug 79569][Maj] New - UnauthorizedAccessExceptions when browsing file system
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 3 11:45:28 EDT 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 toshok at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79569
--- shadow/79569 2006-10-03 11:45:28.000000000 -0400
+++ shadow/79569.tmp.20405 2006-10-03 11:45:28.000000000 -0400
@@ -0,0 +1,74 @@
+Bug#: 79569
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: toshok at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: UnauthorizedAccessExceptions when browsing file system
+
+Found this from a testcase mailed to the list.
+
+Compile and run Cleanup.exe, click the "..." button to get the file dialog.
+ Browse to a parent directory that contains an unreadable dir. For me it's
+just a matter of Desktop -> My Computer -> HDD (ext3, sda7)
+
+that HDD is my /home partition. Anyway, it throws the exception because
+lost+found is not readable to me:
+
+Unhandled Exception: System.UnauthorizedAccessException: Access to the path
+"/home/lost+found" is denied.
+ at System.IO.Directory.GetFileSystemEntries (System.String path,
+System.String pattern, FileAttributes mask, FileAttributes attrs) [0x00000]
+ at System.IO.Directory.GetDirectories (System.String path, System.String
+pattern) [0x00000]
+ at System.IO.DirectoryInfo.GetDirectories (System.String pattern) [0x00000]
+ at System.IO.DirectoryInfo.GetDirectories () [0x00000]
+ at (wrapper remoting-invoke-with-check)
+System.IO.DirectoryInfo:GetDirectories ()
+ at System.Windows.Forms.FileSystem.GetNormalFolders (System.String
+from_folder) [0x00000]
+ at System.Windows.Forms.FileSystem.GetFoldersOnly () [0x00000]
+ at System.Windows.Forms.MWFVFS.GetFoldersOnly () [0x00000]
+ at
+System.Windows.Forms.FolderBrowserDialog+FolderBrowserTreeView.FillNode
+(System.Windows.Forms.TreeNode node) [0x00000]
+ at
+System.Windows.Forms.FolderBrowserDialog+FolderBrowserTreeView.OnBeforeExpand
+(System.Windows.Forms.TreeViewCancelEventArgs e) [0x00000]
+ at System.Windows.Forms.TreeNode.Expand (Boolean byInternal) [0x00000]
+ at System.Windows.Forms.TreeNode.Expand () [0x00000]
+ at System.Windows.Forms.TreeNode.Toggle () [0x00000]
+ at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.TreeNode:Toggle ()
+ at System.Windows.Forms.TreeView.MouseDownHandler (System.Object sender,
+System.Windows.Forms.MouseEventArgs e) [0x00000]
+ at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_MouseEventArgs
+(object,System.Windows.Forms.MouseEventArgs)
+ at System.Windows.Forms.Control.OnMouseDown
+(System.Windows.Forms.MouseEventArgs e) [0x00000]
+ at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x00000]
+ at System.Windows.Forms.TreeView.WndProc (System.Windows.Forms.Message&
+m) [0x00000]
+ at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000]
+ at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000]
+ at System.Windows.Forms.XplatUIX11.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000]
+ at System.Windows.Forms.XplatUI.DispatchMessage
+(System.Windows.Forms.MSG& msg) [0x00000]
+ at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000]
+ at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) [0x00000]
More information about the mono-bugs
mailing list