#41 inotify thread aborts

pre 0.12 SVN
closed-fixed
Leo
General (19)
1
2010-04-06
2008-10-12
yura
No

Hi!

I see the following behaviour in MT 0.11.0:

When configuring a directory for inotify as scanning option and the directory has one or more subdirectories which can not be watched by the MT user (e.g. lost+found which can be only accessed with UID 0) the thread will abort with the log line (caused in AutoscanInotify::threadProc() line 335):

...
ERROR: Inotify thread caught exception: no permission
...

The result is that the directory is no longer watched and no changes are recorded.

A possible solution would be to log the name of the offending directory in the log file and proceed with adding watches where it is possible.

Yours,
yura

Discussion

<< < 1 2 (Page 2 of 2)
  • Leo
    Leo
    2009-12-21

    • priority: 6 --> 1
     
  • Jin
    Jin
    2010-04-06

    • status: open-fixed --> closed-fixed
     
<< < 1 2 (Page 2 of 2)