inotify_add_watch: Permission denied
- From: Hamish <captainmish gmail com>
- To: dashboard-hackers gnome org
- Subject: inotify_add_watch: Permission denied
- Date: Tue, 11 Apr 2006 11:09:21 +0100
Hello
I am running beagle 0.2.3-0ubuntu7 on ubuntu dapper, kernel 2.6.15-20-686 with
CONFIG_INOTIFY=y (default)
When I run beagled as a normal user, it runs for a while, then dies with
inotify_add_watch: Permission denied [see 1 below]
I tried changing <AllowRoot>false</AllowRoot> to true in ~/.beagle/daemon.xml
and run as root, and this seems to work (sudo beagled) - it gives a report of
what is currently being indexed, and finally reports indexing finished, but i
cannot connect to this daemon. If i try beagle-index-info while running sudo,
i get an error saying could not connect to daemon.
Is there a permission I could set somewhere to allow my user to do whatever is
being denied in inotify_add_watch, or some other configuration option I could
try?
Thanks,
H
[1]
inotify_add_watch: Permission denied
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
in (wrapper managed-to-native) Beagle.Util.DirectoryWalker:sys_readdir
(intptr,System.Text.StringBuilder,int) <0x4>
in (wrapper managed-to-native) Beagle.Util.DirectoryWalker:sys_readdir
(intptr,System.Text.StringBuilder,int) <0xffffff20>
in Beagle.Util.DirectoryWalker:readdir (intptr,System.Text.StringBuilder)
(at /build/buildd/beagle-0.2.3/Util/DirectoryWalker.cs:55)
in FileEnumerator:MoveNext ()
(at /build/buildd/beagle-0.2.3/Util/DirectoryWalker.cs:112)
in Beagle.Daemon.KonqQueryable.KonqQueryable:HasNextIndexable ()
(at /build/buildd/beagle-0.2.3/beagled/KonqHistoryQueryable/KonqQueryable.cs:244)
in AddGeneratorTask:DoTaskReal ()
(at /build/buildd/beagle-0.2.3/beagled/LuceneQueryable.cs:562)
in Task:DoTask () (at /build/buildd/beagle-0.2.3/Util/Scheduler.cs:267)
in Beagle.Util.Scheduler:Worker ()
(at /build/buildd/beagle-0.2.3/Util/Scheduler.cs:980)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () <0x139>
in Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
(at /build/buildd/beagle-0.2.3/Util/ExceptionHandlingThread.cs:54)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x8c7910>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0xf7823f>
Native stacktrace:
/usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7e1943f]
/usr/lib/libmono.so.0 [0xb7ddb03e]
[0xffffe440]
/usr/lib/beagle/libbeagleglue.so(beagled_utils_readdir+0x25)
[0xb64a93ed]
[0xb6420f3e]
[0xb6420e21]
[0xb6420c58]
[0xb5ec30c0]
[0xb5ec29ed]
[0xb5ebed4c]
[0xb5ebd750]
[0xb65b8940]
[0xb65b8a4a]
[0xb65b8940]
[0xb6e80221]
/usr/lib/libmono.so.0 [0xb7df8438]
/usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e5aeed]
/usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x42) [0xb7e5c0ec]
/usr/lib/libmono.so.0 [0xb7e8c4b4]
/usr/lib/libmono.so.0 [0xb7ed660f]
/usr/lib/libmono.so.0(GC_start_routine+0x5f) [0xb7ef03b3]
/lib/tls/i686/cmov/libpthread.so.0 [0xb7cf1341]
/lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7c5b4ee]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]