Fix permissions on save and user directories.
PR: ports/4978 Submitted by: Matthew Hunt <mph@pobox.com>
This commit is contained in:
parent
95cb246643
commit
8d91cdef88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8655
2 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
--- Makefile.orig Fri Sep 19 10:55:34 1997
|
||||
+++ Makefile Fri Sep 19 10:56:00 1997
|
||||
--- Makefile.orig Sun Nov 9 15:27:29 1997
|
||||
+++ Makefile Sun Nov 9 15:32:43 1997
|
||||
@@ -0,0 +1,19 @@
|
||||
+# My makefile for Angband
|
||||
+# Matthew Hunt <mph@pobox.com>
|
||||
|
@ -12,11 +12,11 @@
|
|||
+ cd src && make "CFLAGS=$(CFLAGS)"
|
||||
+
|
||||
+install: angband
|
||||
+ install -c -o bin -g games -m 2755 angband ${PREFIX}/bin/angband
|
||||
+ install -c -o bin -g games -m 2555 angband ${PREFIX}/bin/angband
|
||||
+ mkdir -p ${PREFIX}/lib/X11/angband
|
||||
+ (cd lib && tar cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
|
||||
+ /usr/sbin/chown -R bin.games ${PREFIX}/lib/X11/angband
|
||||
+ (cd ${PREFIX}/lib/X11/angband && \
|
||||
+ /bin/chmod 775 apex bone data edit file help info xtra && \
|
||||
+ /bin/chmod 1777 save user )
|
||||
+ /bin/chmod 775 apex bone data edit file help info xtra\
|
||||
+ save user )
|
||||
+ install -o games -g games -m 664 /dev/null ${PREFIX}/lib/X11/angband/apex/scores.raw
|
||||
|
|
|
@ -66,8 +66,8 @@ lib/X11/angband/user/user.prf
|
|||
@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
|
||||
|
|
Loading…
Reference in a new issue