ports/150231: port audio/tuxguitar gets installed with wrong permissions

Ralf Gebhart gebhart at secnetix.de
Thu Sep 2 18:50:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list