Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300284 - games-strategy/savage2-bin needs write permissions for games group on /opt/savage2 for being able to apply upstream updates
Summary: games-strategy/savage2-bin needs write permissions for games group on /opt/sa...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL: http://forums.savage2.com/showthread....
Whiteboard:
Keywords:
Depends on:
Blocks: 289426
  Show dependency tree
 
Reported: 2010-01-09 14:02 UTC by Pacho Ramos
Modified: 2011-12-22 16:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2010-01-09 14:02:50 UTC
Like commented in comments 1, 2 and 3 in bug 289426

"when I try to login, it tries to
update from 2.1.0.1 to 2.1.0.1 (???) and the loading bar remains stuck at 74%
showing "Unable to write to game".

A similar problem was reported at:
http://forums.savage2.com/showthread.php?t=19172
http://aur.archlinux.org/packages.php?ID=18415

when run as root it updates to a 2.1.0.2 version, then, maybe games
group should have write permissions on /opt/savage2 (something similar is
already being done with enemy-territory)"

This blocks its stabilization since users will simply get a non-playable version

Thanks for fixing this :-)

Reproducible: Always
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2010-01-09 15:51:10 UTC
Allowing games group to write there would be worse than bug 125902.
Comment 2 Pacho Ramos gentoo-dev 2010-01-11 14:18:05 UTC
(In reply to comment #1)
> Allowing games group to write there would be worse than bug 125902.
> 

Well, I understand your point of view, I have just asked them to release a new installer or give us some mirror where download updated files for being able to bump our version.

But, please, also take care that other ebuilds are granting write permissions for games group:
$ grep -r "chmod g+rw" */*/*.ebuild
games-arcade/jardinains/jardinains-2.0.ebuild:	chmod g+rw "${D}${dir}/data/prefs.xml"
games-fps/enemy-territory/enemy-territory-2.60b.ebuild:		chmod g+rw "${Ddir}/etwolf-homedir"
games-fps/enemy-territory/enemy-territory-2.60b.ebuild:	chmod g+rw "${Ddir}" "${Ddir}/etmain"
games-rpg/nwn-data/nwn-data-1.29-r1.ebuild:	chmod g+rwX ${Ddir} || die "could not chmod"
games-rpg/nwn-data/nwn-data-1.29-r3.ebuild:	chmod g+rwX ${Ddir} || die "could not chmod"

Comment 3 Pacho Ramos gentoo-dev 2010-01-11 14:23:48 UTC
Other option would be to suggest users to run the game as root the first time for updating :-/
Comment 4 Valeriy Malov 2010-02-08 17:38:38 UTC
S2 Games primarly are using manual updates by client, I don't understand why someone even wants to use portage for updates :/ 
Comment 5 Pacho Ramos gentoo-dev 2010-02-08 20:24:25 UTC
(In reply to comment #4)
> S2 Games primarly are using manual updates by client, I don't understand why
> someone even wants to use portage for updates :/ 
> 

Because updates done by client requires write permissions for /opt/Savage2 :-/
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-12-22 16:09:58 UTC
Removed from Portage wrt bug 390919.