I'm making some progress. By using "setcap", not on my app but on mono
itself, I get past the initial permission issue for the udp socket.

My app also accesses a library written in c which uses a socket to read
canbus messages. On startup it tries a "ip link set blah blah..."

This still responds with "RTNETLINK answers: Operation not permitted". I've
tried 

setcap 'cap_net_bind_service=+ep' mylibrary.so

but this does not seem to do the trick, even tho the library is called by my
app which is itself started by mono. At this point I suppose this is no
longer a mono question, just a Linux question, but if anyone has pointers
I'd appreciate it.

Thanks!





--
View this message in context: 
http://mono.1490590.n4.nabble.com/setuid-behavior-tp4660850p4660858.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to