Re: root only ?

Search this archive.

From: Jay Link (jlink@interlink-bbs.com)
Date: Mon 22 Nov 1999 - 03:22:30 IST


> i have a program. it uses svgalib (vga.h, vgagl.h)
> and i can't run it unless i'm logged in as root.
> when i try to run it as a "normal" user it answers:
>
> svgalib: can't get I/O permission.
>
> does anybody know what to do ?

Simple answer:    chmod u+s <name of program>

Detailed answer:  SVGAlib accesses the video card directly. In order to
access a piece of hardware directly, you must be root, or else setuid
root.


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST