From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Tue May 22 2007 - 06:01:27 EDT
Dear managers,
we have an application (running on Solaris 10) that accesses sound and
serial devices. The application works when run as root, but is not able
to access (/dev/audio, /dev/term/0,...) when run as a normal user.
audioCtlDevice = open ("/dev/audioctl", O_RDWR);
if (audioCtlDevice < 0) { NSLog(@"Error: open() returned %d;
errno %d", audioCtlDevice, errno); return 0; }
2007-05-22 11:57:15.084 AudioPlayTest[21626] Error: open() returned -1;
errno 2
I suppose this is a general issue. What do we have to do to give
non-root users access to devices?
Thanks a lot!
Regards,
Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:59 EDT