On Fri, Oct 05, 2007 at 12:21:12PM +0800, David wrote: > Jeff wrote: > > Never run emc2 as root. Instead, use "sudo make setuid" to make the > > emc_module_helper program able to load modules, and run it as a "regular > > user". For instance, I have been informed that when you run as root, > > the special device file "/dev/tty" is removed when emc exits; this > > does not happen when you run as a user. > > If I don't ran EMC2 as root when building EMC2 (realtime) , the > terminal will show: > > Can't write to /dev/rtai_shm - aborting
Put the file debian/extras-Ubuntu-6.06/etc/udev/rules.d in /etc/udev/rules.d -- this makes the /dev/rtai_shm file writable by non-root users, and is automatically installed with the official emc packages (but not by 'make install' or for run-in-place systems) Do the same for .../udev/scripts/rtai_fifos.sh if it exists in your version of the emc2 source tree; this enables the rtai latency test to run without manually executing "mknod". Jeff ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers