[Mono-list] Administrator privileges for my App when running from MonoVS

Christopher David Howie me at chrishowie.com
Mon May 17 18:48:17 EDT 2010


On 05/17/2010 06:42 PM, ivancmz wrote:
> Our application uses the serial port to communicate with an external
> embedded device, and from what I've seen, in order to have access to the
> serial port, it needs Administrator privileges.

A quick-and-dirty approach would be to change the permissions on the
/dev/ttyS... device so that the user you are using to debug has read and
write permission.  On Debian these files are owned by the "dialout"
group.  If OpenSuse has a similar group, just add your user to it.  Then
make sure you log out and back in so the group membership change takes
effect.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5

------------------------------------------------------------------------
                    IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses you are
agreeing that I am, by definition, "the intended recipient," and that I
may do whatever I wish with the contents of any message you send me,
unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.


More information about the Mono-list mailing list