Date: Sat, 8 Nov 1997 14:16:53 +0200 (SAT) From: sheldonh@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/4978: angband port installs user and save dirs with silly permissions Message-ID: <199711081216.OAA21001@axl.iafrica.com> Resent-Message-ID: <199711081220.EAA05441@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4978 >Category: ports >Synopsis: angband port installs user and save dirs with silly permissions >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 8 04:20:01 PST 1997 >Last-Modified: >Originator: Sheldon Hearn >Organization: NYFB >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2-STABLE as of 5 Nov 1997 >Description: The angband port installs /usr/X11R6/lib/X11/{user,save} with world writable permissions. As the game itself is setgid games, the dirs only need to be group readable. >How-To-Repeat: cd /usr/ports/games/angband make install ls -ld /usr/X11R6/lib/X11/angband/{user,save} >Fix: Patch the pkg/PLIST as follows to make the port install said directories user and group writable only. --- pkg/PLIST.ORIG Sat Nov 8 14:06:01 1997 +++ pkg/PLIST Sat Nov 8 14:06:49 1997 @@ -66,8 +66,8 @@ @exec chmod 775 %D/lib/X11/angband/help @exec chmod 775 %D/lib/X11/angband/info @exec chmod 775 %D/lib/X11/angband/xtra -@exec chmod 1777 %D/lib/X11/angband/save -@exec chmod 1777 %D/lib/X11/angband/user +@exec chmod 775 %D/lib/X11/angband/save +@exec chmod 775 %D/lib/X11/angband/user @exec chmod 664 %D/lib/X11/angband/apex/scores.raw @dirrm lib/X11/angband/bone @dirrm lib/X11/angband/data >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711081216.OAA21001>