Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134192 - ut2004-data installs many files as executable
Summary: ut2004-data installs many files as executable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-24 04:33 UTC by Paul Bredbury
Modified: 2006-05-24 08:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ut2004-data-3186-r3.ebuild.diff (ut2004-data-3186-r3.ebuild.diff,3.55 KB, patch)
2006-05-24 04:34 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Bredbury 2006-05-24 04:33:10 UTC
Hi, I'd never really noticed it before, but the ut2004-data ebuild creates 1227 files which are *executable*, as shown by:

find /opt/ut2004 -type f -perm 550

I first thought that this was caused by a weird /etc/fstab entry, but the files are still shown as executable on the *DVD* with this entry:

/dev/hdc  /media/cdrecorder  auto  user,noauto  0 0

The enclosed patch fixes the problem by using doins (which calls the "install" command) instead of cp to $Ddir. Now, "find /opt/ut2004 -type f -perm 750" gives:

ut2004
System/{ucc-bin,ut2004-bin,openal.so,libSDL-1.2.so.0}

I'm not suggesting a revision bump :)
Comment 1 Paul Bredbury 2006-05-24 04:34:31 UTC
Created attachment 87379 [details, diff]
ut2004-data-3186-r3.ebuild.diff
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-24 08:11:31 UTC
Modified patch applied... (don't change einfo to echo)...