|
From: Juniarti S. <jun...@ya...> - 2023-06-09 02:15:16
|
Hi, When I use jython2.7.2 I am hitting issue #93 <https://github.com/jython/jython/issues/93>. I thought the fix is in jython2.7.3 but even after I am using jython2.7.3 the file permission behavior remains. Is there anything else need to be done to have the file permission working as before jython2.7.2? Here is how to demonstrate the regression issue in jython: Using jython271 Jython 2.7.1 (default:0df7adb1b397, Jun 30 2017, 19:02:43) [OpenJDK 64-Bit Server VM (Red Hat, Inc.)] on java1.8.0_372 Type "help", "copyright", "credits" or "license" for more information. ">>> import copy" Checking the permission of the newly compile script: [root@juniredhat1 Lib]# ls -la copy* -rw-r--r-- 1 root root 28015 Jun 2 09:45 'copy$py.class' ===> NOTED THE FILE PERMISSION THE SAME AS THE SOURCE -rw-r--r-- 1 root root 27996 Jun 30 2017 'copy$py.class.org' -rw-r--r-- 1 root root 11519 Jun 30 2017 copy.py -rw-r--r-- 1 root root 13490 Jun 2 09:45 'copy_reg$py.class' -rw-r--r-- 1 root root 6800 Jun 30 2017 copy_reg.py ========================================================================= Using jython273 Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, 18:52:49) [OpenJDK 64-Bit Server VM (Red Hat, Inc.)] on java1.8.0_372 Type "help", "copyright", "credits" or "license" for more information. ">>> import copy" Checking the permission of the newly compile script: -rw------- 1 root root 26875 Jun 2 09:48 'copy$py.class' ===> NOTED THE FILE PERMISSION GOT CHANGE AS ISSUE #93 <https://github.com/jython/jython/issues/93> -rw-r--r-- 1 root root 26856 Sep 10 2022 'copy$py.class.org' -rw-r--r-- 1 root root 11519 Sep 10 2022 copy.py -rw-r--r-- 1 root root 12955 Sep 10 2022 'copy_reg$py.class' -rw-r--r-- 1 root root 6800 Sep 10 2022 copy_reg.py I opened GitHub issue https://github.com/jython/jython/issues/246 but no one has looked at it. I am hoping, I will get quicker respond from posting it too. Can someone please help on this regression issue as it is breaking our customers? Thank you, Juni. |