[Mono-list] possible bug with FileSystemWatcher
Alex Mac
lots.of.mailing.lists at gmail.com
Tue Oct 3 17:36:46 EDT 2006
On 03/10/06, Gonzalo Paniagua Javier <gonzalo at novell.com> wrote:
> On Tue, 2006-10-03 at 20:51 +0100, Alex Mac wrote:
> > I'm trying to monitor /dev using the FileSystemWatcher however my app
> > seems to hang at the point when i call "watcher.IncludeSubdirectories
> > = true" without that line the code runs fine. Monitoring /tmp with
> > that option turned on does work...
>
> What version of mono are you using? I get an error when it tries to
> watch a directory for which my user does not have permission.
>
> -Gonzalo
I'm using the latest version (1.1.17.1-1ubuntu6)
My user account has read/execute permissions on all of /dev except for
some sub dirs. Is there not a way to monitor a dir recursively but
only the dirs i can read?
Anyway the code just hangs rather than giving some kind of useful error...
More information about the Mono-list
mailing list