From nobody@FreeBSD.org  Thu Sep 20 07:16:52 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2185D16A41B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2007 07:16:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id F2A2613C46B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2007 07:16:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8K7GpOB009185
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2007 07:16:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8K7GpCI009184;
	Thu, 20 Sep 2007 07:16:51 GMT
	(envelope-from nobody)
Message-Id: <200709200716.l8K7GpCI009184@www.freebsd.org>
Date: Thu, 20 Sep 2007 07:16:51 GMT
From: "G.V. Tjong A Hung" <gvtjongahung@users.sourceforge.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vultureseye gets a permission denied after typing the name
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: llwang@infor.org

>Number:         116485
>Category:       ports
>Synopsis:       games/vultures-eye gets a permission denied after typing the name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 07:20:00 GMT 2007
>Closed-Date:    Tue May 20 12:39:47 UTC 2008
>Last-Modified:  Tue May 20 12:40:02 UTC 2008
>Originator:     G.V. Tjong A Hung
>Release:        
>Organization:
>Environment:
uname -a
FreeBSD obelix.kvz.local 6.2-STABLE FreeBSD 6.2-STABLE #1: Sun Sep  9 02:38:58 CEST 2007     root@obelix.kvz.local:/usr/obj/usr/src/sys/OBELIX  i386
>Description:
When starting up it gives the following error when typing a name.
> vultureseye 
ERROR: could not open log file vultures_log.txt for appending: Permission denied
[/usr/local/share/vultures-eye/vultureseye]: No write permission to lock perm!
No write permission to lock perm!

>How-To-Repeat:
pkg_add -r vultureseye
Start up vultureseye after installing it.
The same occurs when building/make package it(in a jail) and then installing it on the host.
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Sep 20 07:21:30 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Sat Oct 6 14:19:51 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 

From: Stefan Walter <stefan@freebsd.org>
To: "G.V. Tjong A Hung" <gvtjongahung@users.sourceforge.net>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>, llwang@infor.org
Subject: Re: ports/116485: games/vultures-eye gets a permission denied
	after typing the name
Date: Sat, 6 Oct 2007 16:17:11 +0200

 Hi G.V.,
 
 I cannot reproduce the problem described by you. What is the output of the
 following command on the system on which you experience this problem?
 
 ls -ld /usr/local/share/vultures-eye /usr/local/share/vultures-eye/*
 
 Best regards,
 Stefan

From: Stefan Walter <stefan@freebsd.org>
To: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/116485: games/vultures-eye gets a permission denied
	after typing the name
Date: Fri, 12 Oct 2007 15:27:04 +0200

 Reply received as private mail:
 
 Gabor Tjong A Hung, 11.10.07, 16:36h CEST:
 
 > On 10/6/07, Stefan Walter <stefan@freebsd.org> wrote:
 > >
 > > Hi G.V.,
 > >
 > > I cannot reproduce the problem described by you. What is the output of the
 > > following command on the system on which you experience this problem?
 > >
 > > ls -ld /usr/local/share/vultures-eye /usr/local/share/vultures-eye/*
 > >
 > > Best regards,
 > > Stefan
 > >
 > 
 > 
 > 
 > -- 
 > "If you don't know where you are going, any road will take you there" ?
 > George Harrison
 
 > > ls -ld /usr/local/share/vultures-eye /usr/local/share/vultures-eye/*
 > drwxr-xr-x  8 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye
 > drwxr-xr-x  2 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/config
 > -rw-rw-r--  1 games  games     1693 Sep 19 23:52 /usr/local/share/vultures-eye/defaults.nh
 > drwxr-xr-x  2 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/fonts
 > drwxr-xr-x  2 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/graphics
 > -rw-rw-r--  1 games  games     4875 Sep 19 23:52 /usr/local/share/vultures-eye/license
 > -rw-rw-r--  1 games  games        0 Sep 19 23:52 /usr/local/share/vultures-eye/logfile
 > drwxr-xr-x  3 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/manual
 > drwxr-xr-x  2 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/music
 > -rw-rw-r--  1 games  games   585403 Sep 19 23:52 /usr/local/share/vultures-eye/nhdat
 > -rw-rw-r--  1 games  games        0 Sep 19 23:52 /usr/local/share/vultures-eye/perm
 > -rw-rw-r--  1 games  games        0 Sep 19 23:52 /usr/local/share/vultures-eye/record
 > -rwxr-xr-x  1 games  games     7936 Sep 19 23:52 /usr/local/share/vultures-eye/recover
 > drwxr-xr-x  2 root   wheel      512 Sep 20 09:04 /usr/local/share/vultures-eye/sound
 > -rwxr-sr-x  1 games  games  3590801 Sep 19 23:52 /usr/local/share/vultures-eye/vultureseye
 > -rw-rw-r--  1 games  games    25214 Sep 19 23:52 /usr/local/share/vultures-eye/vultureseye.ico
 > -rw-rw-r--  1 games  games     3363 Sep 19 23:52 /usr/local/share/vultures-eye/vultureseye.png
 

From: Stefan Walter <stefan@freebsd.org>
To: Gabor Tjong A Hung <gvtjongahung@users.sourceforge.net>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/116485: games/vultures-eye gets a permission denied
	after typing the name
Date: Sun, 14 Oct 2007 16:31:33 +0200

 /usr/local/share/vultures-eye and its contents should all be owned by
 games:games and be group-writable. For some reason, permissions of
 directories aren't preserved when creating the binary package. For now,
 you could just install vultures-eye via the port instead of using the
 package as a workaround.
 
 It would be possible to set the directories' permissions via a script
 after installation of the binary package, but I think there should be a
 better solution...
 
 Stefan
State-Changed-From-To: feedback->open 
State-Changed-By: stefan 
State-Changed-When: Wed Oct 17 15:04:17 UTC 2007 
State-Changed-Why:  
Maintainer's feedback no longer necessary, this seems to be a problem with 
package building. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 
Responsible-Changed-From-To: stefan->freebsd-ports-bugs 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Wed Oct 17 15:05:08 UTC 2007 
Responsible-Changed-Why:  
Give this back to the pool. I don't have enough time to have a closer look at it 
now, someone else might. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 

From: Pav Lucistnik <pav@FreeBSD.org>
To: bug-followup@FreeBSD.org, stefan@FreeBSD.org, llwang@infor.org
Cc:  
Subject: Re: ports/116485: games/vultures-eye gets a permission denied
	after typing the name
Date: Sun, 16 Dec 2007 13:14:04 +0100

 A set of
 @exec chmod games:games %D/directory
 lines need to be added to the end of the pkg-plist, otherwise
 permissions on the directories are bound to be root:wheel.
 
 Maintainer, can you look into it?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 Can't sing. Can't dance. Can handle a sword a little.
 

From: "Li-Lun \"Leland\" Wang" <llwang@infor.org>
To: bug-followup@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
 -@dirrm %%DATADIR%%/sound
 +@exec mkdir -p %D/%%DATADIR%%/save
 +@exec chown games:games %D/%%DATADIR%%
 +@exec chown games:games %D/%%DATADIR%%/config
 +@exec chown games:games %D/%%DATADIR%%/fonts
 +@exec chown games:games %D/%%DATADIR%%/manual
 +@exec chown games:games %D/%%DATADIR%%/manual/img
 +@exec chown games:games %D/%%DATADIR%%/music
 +@exec chown games:games %D/%%DATADIR%%/graphics
 +@exec chown games:games %D/%%DATADIR%%/save
 +@exec chown games:games %D/%%DATADIR%%/sound
 +@exec chmod 775 %D/%%DATADIR%%
 +@exec chmod 775 %D/%%DATADIR%%/config
 +@exec chmod 775 %D/%%DATADIR%%/fonts
 +@exec chmod 775 %D/%%DATADIR%%/manual
 +@exec chmod 775 %D/%%DATADIR%%/manual/img
 +@exec chmod 775 %D/%%DATADIR%%/music
 +@exec chmod 775 %D/%%DATADIR%%/graphics
 +@exec chmod 775 %D/%%DATADIR%%/save
 +@exec chmod 775 %D/%%DATADIR%%/sound
 +@dirrmtry %%DATADIR%%/sound
  @dirrmtry %%DATADIR%%/save
 -@dirrm %%DATADIR%%/music
 -@dirrm %%DATADIR%%/manual/img
 -@dirrm %%DATADIR%%/manual
 -@dirrm %%DATADIR%%/graphics
 -@dirrm %%DATADIR%%/fonts
 +@dirrmtry %%DATADIR%%/music
 +@dirrmtry %%DATADIR%%/manual/img
 +@dirrmtry %%DATADIR%%/manual
 +@dirrmtry %%DATADIR%%/graphics
 +@dirrmtry %%DATADIR%%/fonts
  @dirrmtry %%DATADIR%%/config
  @dirrmtry %%DATADIR%%
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Wed May 14 19:58:25 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 

From: Thomas Abthorpe <tabthorpe@freebsd.org>
To: bug-followup@freebsd.org,
 gvtjongahung@users.sourceforge.net
Cc: llwang@infor.org
Subject: Re: ports/116485: games/vultures-eye gets a permission denied after typing the name
Date: Thu, 15 May 2008 15:02:48 -0400

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 This patch seems to work, I want to test just a little more, and then I will 
 commit.
 
 
 Thomas
 
 - -- 
 Thomas Abthorpe		| FreeBSD Committer
 tabthorpe@FreeBSD.org	| http://people.freebsd.org/~tabthorpe
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.9 (FreeBSD)
 
 iEYEARECAAYFAkgsiN8ACgkQ5Gm/jNBp8qDwFwCfQ5C1lpzMsvSPJzG2GNL3UAna
 FV0An2KGU/sdJlmNhQLy8oz6kFc2FhuI
 =u0kR
 -----END PGP SIGNATURE-----
State-Changed-From-To: open->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Tue May 20 12:39:46 UTC 2008 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116485 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116485: commit references a PR
Date: Tue, 20 May 2008 12:39:17 +0000 (UTC)

 tabthorpe    2008-05-20 12:39:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/vultures-eye   Makefile pkg-plist 
   Log:
   - Fix permissions on directories
   - Remove USE_GCC while I am here
   - Bump PORTREVISION
   
   PR:             ports/116485 (inspired by)
   Submitted by:   Li-Lun "Leland" Wang <llwang infor.org> (maintainer)
   
   Revision  Changes    Path
   1.9       +1 -2      ports/games/vultures-eye/Makefile
   1.3       +25 -6     ports/games/vultures-eye/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
