1. pygame
  2. pygame
  3. pygame

Issues

Issue #27 resolved

Bad permissions on font (and icons) in 1.8.1 tarball

René Dudfield
created an issue

== Adam Williamson, 2008-12-12 17:33:48 -0800

{{{ In the pygame 0.8.1 tarball, all files in lib/ have 700 permissions. The icon file freesansbold.ttf and the icon files pygame.ico and pygame_icon.* included.

When installing pygame system-wide, the restrictive 700 permissions on these files are kept, as they are just installed as data. Of course, they are now owned by root, not the user - so a regular user cannot access them. This causes pygame-based applications including at least childsplay, but probably more, to fail to run, because freesansbold.ttf cannot be opened. Changing the permissions on freesansbold.ttf to 644 resolves this problem.

See this Mandriva forum thread:

http://forum.mandriva.com/viewtopic.php?p=606600#606600

and this one from PCLOS:

http://hack.mypclinuxos.com/index.php?action=printpage;topic=606.0

both a result of this bug. }}}


== James Paige, 2008-12-12 19:20:16 -0800

{{{ Created attachment 18 pygame-1.8.1release.tar.gz with corrected permissions, unix line endings, and .pyc files removed

I am guessing that some poor misguided windows-using soul just converted the zip file into a tarball without realizing the implications :)

I have fixed the permissions, fixed the line-ending style on all .py files, and removed all .pyc files

I'm not sure who has permissions to upload a new tarball to the main site. }}}


Attachments: [[http://www.pygame.org/old_bug_attachments/18/pygame-1.8.1release.tar.gz| pygame-1.8.1release.tar.gz]]

== Thorbrian, 2008-12-14 11:59:08 -0800

{{{ Rene, did you make the original tarball? Can you check out James' fixed version and upload it if it's good?

thanks! }}}


== illume, 2009-05-25 15:16:14 -0700

{{{ hi,

the pygame 1.9 release will fix these issues.

Executable bits on files have been addressed with a script made by Lenard and modified by me, and I have made a note to check line endings before release.

I think it happened because I used the sdist command on a windows machine from a non-fresh checkout.

Adding a note to the how_to_release_pygame.txt about it.

Will just leave the 1.8.1release how it is, and ask people to move to 1.9... which also fixes more bugs.

I really should have looked at this earlier... but the 1.9 release is only 2-3 weeks away now.

cu, }}}


Comments (0)

  1. Log in to comment