Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265003 Details for
Bug 351375
gnome-extra/gnome-games has dysfunctional group setuid protection for highscores
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
comply to GAMES_STATEDIR
gnome-games-policy.diff (text/plain), 1.14 KB, created by
emil karlson
on 2011-03-06 21:01:18 UTC
(
hide
)
Description:
comply to GAMES_STATEDIR
Filename:
MIME Type:
Creator:
emil karlson
Created:
2011-03-06 21:01:18 UTC
Size:
1.14 KB
patch
obsolete
>--- gnome-games-2.30.2-r1.ebuild 2011-02-15 10:31:13.000000000 +0200 >+++ gnome-games-2.30.2-r2.ebuild 2011-03-06 22:01:49.517890496 +0200 >@@ -85,6 +85,9 @@ > --disable-aisleriot-clutter > --disable-card-themes-installer > --enable-sound >+ --disable-setgid >+ --bindir=${GAMES_BINDIR} >+ --localstatedir=${GAMES_STATEDIR}/${PN}/ > --with-scores-group=${GAMES_GROUP} > --with-platform=gnome > --with-card-theme-formats=all >@@ -133,17 +136,20 @@ > [ -s ${game}/${doc} ] && dodoc ${game}/${doc} > done > done >+ >+ chown root:games "${D}"/usr/games/bin/* >+ chmod 750 "${D}"/usr/games/bin/* > } > > pkg_preinst() { > gnome2_pkg_preinst > # Avoid overwriting previous .scores files > local basefile >- for scorefile in "${D}"/var/lib/games/*.scores; do >+ for scorefile in "${D}"/${GAMES_STATEDIR}/${PN}/*.scores; do > basefile=$(basename $scorefile) >- if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then >- cp "${ROOT}/var/lib/games/${basefile}" \ >- "${D}/var/lib/games/${basefile}" >+ if [ -s "${ROOT}/${GAMES_STATEDIR}/${PN}/${basefile}" ]; then >+ cp "${ROOT}/${GAMES_STATEDIR}/${PN}/${basefile}" \ >+ "${D}/${GAMES_STATEDIR}/${PN}/${basefile}" > fi > done > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 351375
:
259731
| 265003