/dev/mem permissions (for graphics)
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Hi,
I am a professor of CS at Concord College, Athens WV.
I use Free Pascal in my CS1 and CS2 courses, in
conjunction with our "Linux Lab".
I want to use the "Graph" unit so that I can teach
graphics to our majors. Each majors has their
own user account. As I bet you know, any graphics
programs they write must be setuid root. But I
cannot do this for "upteen" and unknown programs.
I am also our sys admin, and I am therefore aware
of svgalib concerns such as obtaining permissions
on the console (i.e., tty8 for us).
I got around the "Cannot get I/O permissions" problem
by exporting IOPERM.
I have tried using a special group with R/W access
on /dev/mem to overcome the "Cannot open /dev/mem"
error, but to no avail.
My question is, how can I get ordinary users to
be able to run graphics programs on Linux?
Please help...I've spent many hours searching the
net and looking through source code.
I hope I can continue to use your compiler in
my class. Thanks so much!
Additional information:
Reporter: David Fleming, Ph.D.
EMail: fleming at concord dot edu
Mantis conversion info:
- Mantis ID: 3451
- OS: Linux
- Version: ?
- Fixed in version: N/A