[Mono-bugs] [Bug 692445] Directory.GetFiles() throws UnauthorizedAccessException when there is not-permitted file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 21 12:57:18 EST 2011



Jonathan Pobst <jpobst at xamarin.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jpobst at xamarin.com
         Resolution|                            |INVALID

--- Comment #3 from Jonathan Pobst <jpobst at xamarin.com> 2011-11-21 17:57:17 UTC ---
I get:

System.UnauthorizedAccessException: Access to the path "/acct/uid/1001" is

I think this is expected (/acct/uid/1001 is a directory).

Directory.GetFiles will fail if the caller does not have permission to the


If you can find an example where just having a file that you don't have
permission to access throws an exception when calling GetFiles, that would
probably be a bug.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list