From: Steven <ste...@sb...> - 2004-12-06 02:42:49
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can not legitimately execute your program as root under linux on a machine for which you do not have root privileges. You should instead try using a different driver which does not need root permissions, such as the X Windows driver. On Dec 5, 2004, at 6:37 PM, Chao Wang wrote: > I installed Allegro under linux, which I don't have root priviledge. > > When I try to run my program > gen_areas test.txt out.txt > > I got error > Fatal error: unable to activate the Allegro system > Unable to open /dev/console: Permission denied > > I figured the error might because some parts of Linux console Allegro > need root > privileges. The installation manual suggest the following: > > If you want a program to run with privileges even though the user > running > it is not root, make root own the binary and set the suid bit: > > # chown root.allegro exhello > # chmod 4770 exhello > > But when I try to chown as above, I got the following error > chown: changing ownership of `gen_areas': Operation not permitted > > Is there a way I could get around this? > > Thank you very much for your help! > > Chao > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > -- > https://lists.sourceforge.net/lists/listinfo/alleg-main > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBs8ckjRUeSe4yhVoRAhApAKCVsaI7oI9pg4nsNP5PmcIgLlWEIQCgl6Eo 5RJI6YYQfN+ZYHgdJt26xtk= =87p2 -----END PGP SIGNATURE----- |