What I did was:

$ ls -l
-rwxr-xr-x 1 tim users ... test
...

$ ./test
svgalib: can't open /dev/console

$ su
$ chown root.root test
$ chmod u+s test
$ exit

$ ls -l
-rwsr-xr-x 1 root root ... test
...

$ ./test
You must be the owner of the current console ...
...
svgalib: cannot get I/O permissions.


I then recompiled svgalib as with the ROOT_VC_SHORTCUT as the FAQ says.
This made no difference (as detailed in my previous message).
But I can still run ./test when logged in as root (though I'd rather not!)

I don't think I'm running in a nosuid partition, It's just in a regular
user area.

Any pointers, ideas, and things to try, much appreiciated.  Thanks.

Tim.

Reply via email to