Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467386 - games.eclass: please make game permissions configurable
Summary: games.eclass: please make game permissions configurable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 20:23 UTC by Michał Górny
Modified: 2014-11-21 21:49 UTC (History)
0 users

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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-26 20:23:15 UTC
Regarding:

  gamesperms() { chmod u+rw,g+r-w,o-rwx "$@"; }

and friends. I'd like to able to be able to make games world-executable on my system.
Comment 1 Julian Ospald 2014-01-12 21:53:11 UTC
Afais that could easily be done with some additional variables, although that will lead to micromanagement, since GAMES_STATEDIR for example has different permissions.

Another approach would be to just disable all chmod/chown code with a magic variable. But I am not sure if that might have any other side-effects depending on the package.
Comment 2 Julian Ospald 2014-11-21 21:49:37 UTC
+  21 Nov 2014; Julian Ospald <hasufell@gentoo.org> games.eclass:
+  add documentation for games.eclass, rm unnecessary exports


I added the following to the documentation which isn't particularly the same to what you want, but comes close enough to it, I guess.

# @ECLASS-VARIABLE: GAMES_GROUP
# @DESCRIPTION:
# The GROUP that owns all game files and usually does not have
# write permissions. May be set by the user.
# If you want games world-executable, then you can at least set this variable
# to 'users' which is almost the same.