It is pretty to not have this game running, but included so

I just added chmod ugo+rw "game files" after chown root:games in Makefile

and add notice about it in man file

It is unbroke game and place it to playable state.

Thanks in advance!

-- Slava Voronzoff
Index: games/phantasia/Makefile
===================================================================
RCS file: /cvs/src/games/phantasia/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- games/phantasia/Makefile    11 Jul 2022 03:11:49 -0000      1.19
+++ games/phantasia/Makefile    16 Sep 2023 01:38:17 -0000
@@ -23,6 +23,7 @@ setup: phantglobs.o.bld setup.o monsters
 beforeinstall: 
        ./setup -m ${.CURDIR}/monsters.asc
        chown root:games ${DESTDIR}/var/games/phantasia/*
+       chmod ugo+rw ${DESTDIR}/var/games/phantasia/*
 
 # Make Phantasia map.  Change the map commands reflect your installation.
 # PLOTDEVICE is used for plotting the map.  Change as appropriate.
Index: games/phantasia/phantasia.6
===================================================================
RCS file: /cvs/src/games/phantasia/phantasia.6,v
retrieving revision 1.3
diff -u -p -r1.3 phantasia.6
--- games/phantasia/phantasia.6 11 Jul 2022 03:11:49 -0000      1.3
+++ games/phantasia/phantasia.6 16 Sep 2023 01:38:17 -0000
@@ -13,9 +13,10 @@
 .Sh DESCRIPTION
 .Bf -symbolic
 .Nm
-is currently unusable because it relies on
+is currently partially broken because it relies on
 .Xr setgid 2
-to allow multiple users read and write access to the same files.
+to allow multiple users read and write access to the same files. 
+So it was "fixed" by giving RW access to some game files to everybody.
 .Ef
 .Pp
 .Nm

Reply via email to