Ok, I fixed the permissions, currently I have:
-rwsr-xr-x    1 root     root       872936 AUG 11 12:57 
/usr/local/bin/qw-client-svga
In this way I'm able to start the program.

But a problem still exists. This way my mouse don't detected. I got the message
on the screen after quiting:
'No mouse found'.
Starting the program as root: it is ok.

Thanks
 Attila
 

On Fri, Aug 11, 2000 at 11:01:46AM -0500, Phil Brutsche wrote:
> A long time ago, in a galaxy far, far way, someone said...
> 
> > I've downloaded and compiled the latest stable quakeforge project.
> > I've a problem: I can run qw-client-svga only as root.
> > 
> > I've the following permissions:
> > 
> > lrwxrwxrwx    1 root     root            7 AUG 10 15:19 /dev/mouse -> 
> > gpmdata
> > prw-r--r--    1 root     root            0 AUG 11 13:05 /dev/gpmdata
> > -rwsr-sr-x    1 attila   staff      872936 AUG 11 12:57 
> > /usr/local/bin/qw-client-svga
>   ^^^^^^^^^^      ^^^^^^
> > Here is the 'strace' output of running 'qw-client-svga'
> > 
> > read(6, "# Configuration file for svgalib"..., 16082) = 16082
> > close(6)                                = 0
> > open("/home/attila/.svgalibrc", O_RDONLY) = 6
> > fstat(6, {st_mode=S_IFREG|0664, st_size=39, ...}) = 0
> > read(6, "mouse MouseSystems\nmdev /dev/mou"..., 39) = 39
> > close(6)                                = 0
> > ioperm(0x3b4, 0x2c, 0x1)                = -1 EPERM (Operation not permitted)
> > write(1, "svgalib: Cannot get I/O permissi"..., 37) = 37
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> > munmap(0x40014000, 4096)                = 0
> > _exit(1)                                = ?
> 
> SVGAlib programs need to be SUID root.

-- 
----------------------------------------------------------------------
- Mail: [EMAIL PROTECTED]; Debian 2.2 Linux  / 2.2.13 / exim    -
- Get my PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -

Reply via email to