[Mono-list] setuid behavior?
mickey at thesweetoasis.com
Thu Sep 12 13:21:31 UTC 2013
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
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.
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.
More information about the Mono-list