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.
State Changed From-To: open->feedback Awaiting maintainers feedback
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
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
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
/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 Maintainer's feedback no longer necessary, this seems to be a problem with package building.
Responsible Changed From-To: stefan->freebsd-ports-bugs Give this back to the pool. I don't have enough time to have a closer look at it now, someone else might.
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.
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 I'll take it.
-----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-----
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"
State Changed From-To: open->closed Committed, with minor changes. Thanks!