[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IO permission problem



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)                                = ?

Thanks for any help
 Attila

 

-- 
----------------------------------------------------------------------
- Mail: acsosz@mail.datanet.hu; Debian 2.2 Linux  / 2.2.13 / exim    -
- Get my PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -



Reply to: