The games/solarwolf port doesn't work. It pops up a window containing an error message: | pygame.error: | Couldn't read from 'data/music/aster2_sw.xm' This is because the permissions of two files are incorrect: baka:~>l /usr/local/share/solarwolf/data/music/ total 412 -rw------- 1 root wheel 306876 Jun 2 00:22 arg.xm -rw------- 1 root wheel 94125 Jun 2 00:20 aster2_sw.xm Fix: chmod a+r /usr/local/share/solarwolf/data/music/* How-To-Repeat: cd /usr/ports/games/solarwolf su make install clean ^D solarwolf
On Mon 2002-11-11 (12:07), Stefan `Sec` Zehl wrote: > >Description: > > The games/solarwolf port doesn't work. It pops up a window containing an > error message: > > | pygame.error: > | Couldn't read from 'data/music/aster2_sw.xm' > > This is because the permissions of two files are incorrect: > > baka:~>l /usr/local/share/solarwolf/data/music/ > total 412 > -rw------- 1 root wheel 306876 Jun 2 00:22 arg.xm > -rw------- 1 root wheel 94125 Jun 2 00:20 aster2_sw.xm I did the last upgrade, so this may be my fault. However, I don't get this locally. I trust your umask is 077 as opposed to the standard 022? I'm not sure if/how ports should handle this. I don't really have time at the moment, and my connectivity is sporadic, so can you please take a look and see if there's a simple fix for this that doesn't involve a post-install chmod? Thanks, Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org
On Mon, Nov 11, 2002 at 02:46:51PM +0200, Neil Blakey-Milner wrote: > On Mon 2002-11-11 (12:07), Stefan `Sec` Zehl wrote: > > This is because the permissions of two files are incorrect: > > > > baka:~>l /usr/local/share/solarwolf/data/music/ > > total 412 > > -rw------- 1 root wheel 306876 Jun 2 00:22 arg.xm > > -rw------- 1 root wheel 94125 Jun 2 00:20 aster2_sw.xm > > I did the last upgrade, so this may be my fault. However, I don't get > this locally. I trust your umask is 077 as opposed to the standard 022? That was my first thought, but no. | baka:~>umask | 022 I even installed that game on another (fresh) machine, and it had the same effect. It seems to be broken in the distribution tar archive: | baka:~>tar tvzf /usr/ports/distfiles/solarwolf-1.1.tar.gz |grep music | drwxr-xr-x pete/users 0 Jun 2 03:02 2002 solarwolf-1.1/data/music/ | -rw------- pete/users 306876 Jun 2 00:22 2002 solarwolf-1.1/data/music/arg.xm | -rw------- pete/users 94125 Jun 2 00:20 2002 solarwolf-1.1/data/music/aster2_sw.xm > I'm not sure if/how ports should handle this. I don't really have time > at the moment, and my connectivity is sporadic, so can you please take a > look and see if there's a simple fix for this that doesn't involve a > post-install chmod? I think a post-install chmod might be the only sane way. CU, Sec -- CUSTOMER: "I'm running Windows '95." > TECH: "Yes." CUSTOMER: "My computer isn't working now." > TECH: "Yes, you already said that." -- (found in comp.os.linux.misc)
Responsible Changed From-To: freebsd-ports->sobomax over to maintainer
State Changed From-To: open->closed The problem fixed, thank you for reporting!