ports/116485: games/vultures-eye gets a permission denied after typing the name
Li-Lun "Leland" Wang
llwang at infor.org
Wed May 14 04:40:04 UTC 2008
The following reply was made to PR ports/116485; it has been noted by GNATS.
From: "Li-Lun \"Leland\" Wang" <llwang at infor.org>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/116485: games/vultures-eye gets a permission denied after typing the name
Date: Tue, 13 May 2008 23:03:31 -0500
Sorry I forgot about this pr.
The following patch should take care of the directory issues.
diff -urN vultures-eye.orig/pkg-plist vultures-eye/pkg-plist
--- vultures-eye.orig/pkg-plist 2006-06-08 22:30:08.000000000 -0500
+++ vultures-eye/pkg-plist 2008-05-13 22:57:45.000000000 -0500
@@ -134,12 +134,31 @@
%%DATADIR%%/vultureseye
%%DATADIR%%/vultureseye.ico
%%DATADIR%%/vultureseye.png
- at dirrm %%DATADIR%%/sound
+ at exec mkdir -p %D/%%DATADIR%%/save
+ at exec chown games:games %D/%%DATADIR%%
+ at exec chown games:games %D/%%DATADIR%%/config
+ at exec chown games:games %D/%%DATADIR%%/fonts
+ at exec chown games:games %D/%%DATADIR%%/manual
+ at exec chown games:games %D/%%DATADIR%%/manual/img
+ at exec chown games:games %D/%%DATADIR%%/music
+ at exec chown games:games %D/%%DATADIR%%/graphics
+ at exec chown games:games %D/%%DATADIR%%/save
+ at exec chown games:games %D/%%DATADIR%%/sound
+ at exec chmod 775 %D/%%DATADIR%%
+ at exec chmod 775 %D/%%DATADIR%%/config
+ at exec chmod 775 %D/%%DATADIR%%/fonts
+ at exec chmod 775 %D/%%DATADIR%%/manual
+ at exec chmod 775 %D/%%DATADIR%%/manual/img
+ at exec chmod 775 %D/%%DATADIR%%/music
+ at exec chmod 775 %D/%%DATADIR%%/graphics
+ at exec chmod 775 %D/%%DATADIR%%/save
+ at exec chmod 775 %D/%%DATADIR%%/sound
+ at dirrmtry %%DATADIR%%/sound
@dirrmtry %%DATADIR%%/save
- at dirrm %%DATADIR%%/music
- at dirrm %%DATADIR%%/manual/img
- at dirrm %%DATADIR%%/manual
- at dirrm %%DATADIR%%/graphics
- at dirrm %%DATADIR%%/fonts
+ at dirrmtry %%DATADIR%%/music
+ at dirrmtry %%DATADIR%%/manual/img
+ at dirrmtry %%DATADIR%%/manual
+ at dirrmtry %%DATADIR%%/graphics
+ at dirrmtry %%DATADIR%%/fonts
@dirrmtry %%DATADIR%%/config
@dirrmtry %%DATADIR%%
More information about the freebsd-ports-bugs
mailing list