Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 18:41:47 GMT
From:      Ralf Gebhart <gebhart@secnetix.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150231: port audio/tuxguitar gets installed with wrong permissions
Message-ID:  <201009021841.o82Ifll5048314@www.freebsd.org>
Resent-Message-ID: <201009021850.o82Io19T005513@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150231
>Category:       ports
>Synopsis:       port audio/tuxguitar gets installed with wrong permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 02 18:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ralf Gebhart
>Release:        7-STABLE
>Organization:
secnetix GmbH & CoKG
>Environment:
FreeBSD klaa.snake.de 7.3-STABLE FreeBSD 7.3-STABLE #0: Sat Oct 24 02:22:16 CEST 2009     gebhart@klaa.snake.de:/nosave/obj/.amd_mnt/koloth/host/big/src/FreeBSD7/sys/KLAA7  i386

>Description:
The port audio/tuxguitar installs its language/help/skins/icon files under ${PREFIX}/share/tuxguitar, but with wrong permissions:
klaa ~> ls -la /usr/local/share/tuxguitar/
total 8530
drwxr-xr-x    7 root  wheel      512 Sep  2 07:14 .
drwxr-xr-x  192 root  wheel     3584 Sep  2 07:14 ..
-r--r--r--    1 root  wheel  7557598 Sep  2 07:14 8MBGMSFX.SF2
drwx------    5 root  wheel     1024 Sep  2 07:14 help
drwx------    2 root  wheel     1024 Sep  2 07:14 lang
drwxr-xr-x    2 root  wheel     1024 Sep  2 07:14 plugins
drwx------    2 root  wheel      512 Sep  2 07:14 scales
drwx------    5 root  wheel      512 Sep  2 07:14 skins
-r--r--r--    1 root  wheel  1104083 Sep  2 07:14 tuxguitar.jar
-r--r--r--    1 root  wheel      724 Sep  2 07:14 tuxguitar.tg

>How-To-Repeat:
cd /usr/ports/audio/tuxguitar
sudo make install

I did that on 2 different machines and it happened on both.

>Fix:
I guess something like this in the Makefile should help, if you add it to the
post-install target:

${CHMOD} -R +rX ${DATADIR}

I'm not really shure why the ${COPYTREE_SHARE} from bsd.port.mk fails here.
  


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009021841.o82Ifll5048314>