-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/3/10 12:14 PM, David Lowe wrote: > I think all these games that failed Buildworld seem to need the "games" > account... Adding a BDep on passwd did not improve the situation. This and > similar commands were hand crafted into the InstallScript, theoretically for > a reason. Does anybody know what it was? Is it still needed? > >> make install-exec-hook >> chgrp "games" "/sw/src/fink.build/root-angband-3.0.6-1/sw/bin/angband" >> chgrp: you are not a member of group games >> make[4]: *** [install-exec-hook] Error 1 > >> mkdir -p -m 0775 %i/var/games/%n/ >> chown games:games %i/var/games/%n/ >> chmod g+w %i/var/games/%n/ >> find lib/ -exec chown games:games {} \; >> find lib/ -exec chmod g+w {} \; >> cp -Rp lib %i/var/games/%n/ > > Sent from my MacBookPro > > SWF, blonde, stacked, seeks appreciative gentlemen. No sysops.
It might be the case that the executable wants to run under the 'games' group for some reason--but I'm not sure. - --build-as-nobody doesn't allow _any_ use of chgrp, chmod, ..., because it uses a deliberately unprivileged 'fink-bld' user. What you can do, however, is move chmods, chgrps, and the like to a PostInstScript, since we're not _installing_ as anything but root. (at least not yet). It doesn't really matter _when_ you change a file's ownership. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyBKVAACgkQB8UpO3rKjQ9QBgCfZOjjjPuwPoXoWpDoxkUBEn9j qjUAoJpp2S+3BuKhydo539TLqNcOmQ36 =OLZk -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel