Message12994

Author jeff.allen
Recipients jeff.allen, r_walter
Date 2020-02-20.18:29:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582223358.86.0.164329845751.issue2862@roundup.psfhosted.org>
In-reply-to
Content
When we compile, since #2044, we make class files private to the current user.

When we install, the files come out of a JAR. Since the process does not preserve permissions, the files have the default permissions for the installing user, 
and end up world-readable (fortuitously, almost). 

However, we also run an installation script for pip, and at that point it seems we recompile a proportion (not all) of the library. These class files become private to the installing user. I believe this happens because either :

1. the source appears newer because we touch it somehow after the class is created.
2. the source time in the class file does not match the one rounded by the JAR format. 

This is a Bad Thing generally, and not just because it has this effect. It will makes Jython try to ignore (always try to rewrite) compiled version we supply. Good discovery.

At the moment, I'm looking at the rounding theory.
History
Date User Action Args
2020-02-20 18:29:18jeff.allensetmessageid: <1582223358.86.0.164329845751.issue2862@roundup.psfhosted.org>
2020-02-20 18:29:18jeff.allensetrecipients: + jeff.allen, r_walter
2020-02-20 18:29:18jeff.allenlinkissue2862 messages
2020-02-20 18:29:18jeff.allencreate