tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: list of possibly broken user-destdir enabled packages

On Sun, Feb 07, 2010 at 08:45:56PM +0100, Klaus Heinz wrote:
> Joerg Sonnenberger wrote:
> > On Sun, Feb 07, 2010 at 07:34:32PM +0100, Klaus Heinz wrote:
> > > Especially the games may not be really fixable right now because there is
> > > no official way at build time to determine the games group at install
> > > time. A short term fix would be the introduction of REAL_GAMEGRP and
> Maybe that should have been REAL_GAMES_USER and REAL_GAMES_GROUP, I
> don't know the difference between GAMES_USER and GAMEOWN...

Don't use the later, the former is what should be used for suid etc.

> > As long as they are SETGIDGAME, they are fine with SPECIAL_PERMS.
> I do not understand what you are saying here.
> Look at games/rollemup (I tried to translate the existing Makefile to
> something that works with DESTDIR):
> SPECIAL_PERMS=          bin/Rollemup ${SETGID_GAMES_PERMS}
> SPECIAL_PERMS+=               ${GAMES_DIR}/Rollemup/Rollemup.ini 
>                         ${GAMES_GROUP} ${GAMEDATAMODE}
> OWN_DIRS_PERMS+=        ${GAMES_DIR}/Rollemup/Games ${GAMES_USER} \
>                         ${GAMEGRP} ${GAMEDIRMODE}
> OWN_DIRS_PERMS+=        ${GAMES_DIR}/Rollemup/Upload ${GAMES_USER} \
>                         ${GAMEGRP} ${GAMEDIRMODE}

These are correct.

> How do I do that right now? I can hard-code "games" instead of GAMEOWN
> and GAMEGRP but if I do not, I get

As said earlier, GAMES_USER and GAMES_GROUP. GAMEOWN and GAMEGRP are
mostly for legacy purposes for stupid makefiles.


Home | Main Index | Thread Index | Old Index