How to recover from https://github.com/jython/jython/issues/93
Juniarti Suryakusuma via Jython-users <[email protected]> Thu, 8 Jun 2023 21:14:50 -0500
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <[email protected]> |
--===============8265308827887681669== Content-Type: multipart/alternative; boundary="Apple-Mail=_7B8E6FA2-120B-4D62-8EEF-C57202EEA0C6" Content-Length: 10950 --Apple-Mail=_7B8E6FA2-120B-4D62-8EEF-C57202EEA0C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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' =3D=3D=3D> = 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 = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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' =3D=3D=3D> = 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.=20 Can someone please help on this regression issue as it is breaking our = customers? Thank you, Juni. --Apple-Mail=_7B8E6FA2-120B-4D62-8EEF-C57202EEA0C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;"><p dir=3D"auto" = style=3D"box-sizing: border-box; margin-bottom: 16px; caret-color: = rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: -apple-system, = BlinkMacSystemFont, "Segoe UI", "Noto Sans", = Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe = UI Emoji"; font-size: 14px; margin-top: 0px !important;">Hi,<br = style=3D"box-sizing: border-box;">When I use jython2.7.2 I am hitting = issue <a class=3D"issue-link js-issue-link" data-error-text=3D"Failed= to load title" data-id=3D"853421669" data-permission-text=3D"Title is = private" data-url=3D"https://github.com/jython/jython/issues/93" = data-hovercard-type=3D"issue" = data-hovercard-url=3D"/jython/jython/issues/93/hovercard" = href=3D"https://github.com/jython/jython/issues/93" style=3D"box-sizing: = border-box; color: var(--color-accent-fg); text-decoration: = none;">#93</a>.<br style=3D"box-sizing: border-box;">I thought the fix = is in jython2.7.3 but even after I am using jython2.7.3 the file = permission behavior remains.</p><p dir=3D"auto" style=3D"box-sizing: = border-box; margin-bottom: 16px; caret-color: rgb(31, 35, 40); color: = rgb(31, 35, 40); font-family: -apple-system, BlinkMacSystemFont, = "Segoe UI", "Noto Sans", Helvetica, Arial, = sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; = font-size: 14px; margin-top: 0px !important;">Is there anything else = need to be done to have the file permission working as before = jython2.7.2?</p><p dir=3D"auto" style=3D"box-sizing: border-box; = margin-bottom: 16px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, = 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe = UI", "Noto Sans", Helvetica, Arial, sans-serif, = "Apple Color Emoji", "Segoe UI Emoji"; font-size: = 14px; margin-top: 0px !important;">Here is how to demonstrate the = regression issue in jython:<br style=3D"box-sizing: border-box;"><span = style=3D"box-sizing: border-box;">Using jython271</span><br = style=3D"box-sizing: border-box;">Jython 2.7.1 (default:0df7adb1b397, = Jun 30 2017, 19:02:43)<br style=3D"box-sizing: border-box;">[OpenJDK = 64-Bit Server VM (Red Hat, Inc.)] on java1.8.0_372<br style=3D"box-sizing:= border-box;">Type "help", "copyright", "credits" or "license" for more = information.<br style=3D"box-sizing: border-box;">">>> import = copy"</p><p dir=3D"auto" style=3D"box-sizing: border-box; margin-top: = 0px; margin-bottom: 16px; caret-color: rgb(31, 35, 40); color: rgb(31, = 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe = UI", "Noto Sans", Helvetica, Arial, sans-serif, = "Apple Color Emoji", "Segoe UI Emoji"; font-size: = 14px;"><span style=3D"box-sizing: border-box;">Checking the permission = of the newly compile script:</span><br style=3D"box-sizing: = border-box;">[root@juniredhat1 Lib]# ls -la copy*<br style=3D"box-sizing: = border-box;">-rw-r--r-- 1 root root 28015 Jun 2 09:45 'copy$py.class' = =3D=3D=3D> NOTED THE FILE PERMISSION THE SAME AS THE SOURCE<br = style=3D"box-sizing: border-box;">-rw-r--r-- 1 root root 27996 Jun 30 = 2017 'copy$py.class.org'<br style=3D"box-sizing: border-box;">-rw-r--r-- = 1 root root 11519 Jun 30 2017 copy.py<br style=3D"box-sizing: = border-box;">-rw-r--r-- 1 root root 13490 Jun 2 09:45 = 'copy_reg$py.class'<br style=3D"box-sizing: border-box;">-rw-r--r-- 1 = root root 6800 Jun 30 2017 copy_reg.py</p><p dir=3D"auto" = style=3D"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; = caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: = -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto = Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", = "Segoe UI Emoji"; font-size: = 14px;">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= <br style=3D"box-sizing: border-box;"><span style=3D"box-sizing: = border-box;">Using jython273</span><br style=3D"box-sizing: = border-box;">Jython 2.7.3 (tags/v2.7.3:5f29801fe, Sep 10 2022, = 18:52:49)<br style=3D"box-sizing: border-box;">[OpenJDK 64-Bit Server VM = (Red Hat, Inc.)] on java1.8.0_372<br style=3D"box-sizing: = border-box;">Type "help", "copyright", "credits" or "license" for more = information.<br style=3D"box-sizing: border-box;">">>> import = copy"</p><p dir=3D"auto" style=3D"box-sizing: border-box; margin-top: = 0px; margin-bottom: 16px; caret-color: rgb(31, 35, 40); color: rgb(31, = 35, 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe = UI", "Noto Sans", Helvetica, Arial, sans-serif, = "Apple Color Emoji", "Segoe UI Emoji"; font-size: = 14px;"><span style=3D"box-sizing: border-box;">Checking the permission = of the newly compile script:</span><br style=3D"box-sizing: = border-box;">-rw------- 1 root root 26875 Jun 2 09:48 'copy$py.class' = =3D=3D=3D> NOTED THE FILE PERMISSION GOT CHANGE AS ISSUE <a = class=3D"issue-link js-issue-link" data-error-text=3D"Failed to load = title" data-id=3D"853421669" data-permission-text=3D"Title is private" = data-url=3D"https://github.com/jython/jython/issues/93" = data-hovercard-type=3D"issue" = data-hovercard-url=3D"/jython/jython/issues/93/hovercard" = href=3D"https://github.com/jython/jython/issues/93" style=3D"box-sizing: = border-box; color: var(--color-accent-fg); text-decoration: = none;">#93</a><br style=3D"box-sizing: border-box;">-rw-r--r-- 1 root = root 26856 Sep 10 2022 'copy$py.class.org'<br style=3D"box-sizing: = border-box;">-rw-r--r-- 1 root root 11519 Sep 10 2022 copy.py<br = style=3D"box-sizing: border-box;">-rw-r--r-- 1 root root 12955 Sep 10 = 2022 'copy_reg$py.class'<br style=3D"box-sizing: border-box;">-rw-r--r-- = 1 root root 6800 Sep 10 2022 copy_reg.py</p><p dir=3D"auto" = style=3D"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; = caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: = -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto = Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", = "Segoe UI Emoji"; font-size: 14px;">I opened GitHub = issue <a = href=3D"https://github.com/jython/jython/issues/246">https://github.com/jy= thon/jython/issues/246</a> but no one has looked at it.</p><p = dir=3D"auto" style=3D"box-sizing: border-box; margin-top: 0px; = margin-bottom: 16px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, = 40); font-family: -apple-system, BlinkMacSystemFont, "Segoe = UI", "Noto Sans", Helvetica, Arial, sans-serif, = "Apple Color Emoji", "Segoe UI Emoji"; font-size: = 14px;">I am hoping, I will get quicker respond from posting it = too. </p><p dir=3D"auto" style=3D"box-sizing: border-box; = margin-top: 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); = font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", = "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color = Emoji", "Segoe UI Emoji"; font-size: 14px; margin-bottom: = 0px !important;">Can someone please help on this regression issue as it = is breaking our customers?<br style=3D"box-sizing: border-box;">Thank = you,</p><p dir=3D"auto" style=3D"box-sizing: border-box; margin-top: = 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); font-family: = -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto = Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", = "Segoe UI Emoji"; font-size: 14px; margin-bottom: 0px = !important;">Juni.</p><p dir=3D"auto" style=3D"box-sizing: border-box; = margin-top: 0px; caret-color: rgb(31, 35, 40); color: rgb(31, 35, 40); = font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", = "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color = Emoji", "Segoe UI Emoji"; font-size: 14px; margin-bottom: = 0px !important;"><br></p></body></html>= --Apple-Mail=_7B8E6FA2-120B-4D62-8EEF-C57202EEA0C6-- --===============8265308827887681669== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8265308827887681669== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Jython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users --===============8265308827887681669==--