Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 259731 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]
[patch]
possible changes to gnome-games-2.30.2-r1.ebuild
gnome-games-2.30.2-r1.ebuild.diff (text/plain), 1.05 KB, created by
emil karlson
on 2011-01-13 17:43:24 UTC
(
hide
)
Description:
possible changes to gnome-games-2.30.2-r1.ebuild
Filename:
MIME Type:
Creator:
emil karlson
Created:
2011-01-13 17:43:24 UTC
Size:
1.05 KB
patch
obsolete
>--- /usr/portage/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild 2010-12-24 15:37:50.000000000 +0200 >+++ gnome-games-2.30.2-r1.ebuild 2011-01-13 19:37:34.006759486 +0200 >@@ -85,10 +85,10 @@ > $(use_enable sound) > --disable-card-themes-installer > --disable-aisleriot-clutter >- --with-scores-group=${GAMES_GROUP} > --with-platform=gnome > --with-card-theme-formats=all > --with-smclient >+ --disable-setgid > --enable-omitgames=none" # This line should be last for _omitgame > > if ! use clutter; then >@@ -133,19 +133,13 @@ > [ -s ${game}/${doc} ] && dodoc ${game}/${doc} > done > done >+ rm -f "${D}"/var/lib/games/*.scores >+ chown root:games "${D}"/usr/bin/* >+ chmod 750 "${D}"/usr/bin/* > } > > pkg_preinst() { > gnome2_pkg_preinst >- # Avoid overwriting previous .scores files >- local basefile >- for scorefile in "${D}"/var/lib/games/*.scores; do >- basefile=$(basename $scorefile) >- if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then >- cp "${ROOT}/var/lib/games/${basefile}" \ >- "${D}/var/lib/games/${basefile}" >- fi >- done > } > > pkg_postinst() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 351375
:
259731
|
265003