Bug 30929 - python3 docs have wrong permissions: can´t view docs as a user
Summary: python3 docs have wrong permissions: can´t view docs as a user
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords:
Depends on: 30848
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-03 14:06 CEST by Elmar Stellnberger
Modified: 2022-10-08 22:24 CEST (History)
6 users (show)

See Also:
Source RPM: python3-3.8.12-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Elmar Stellnberger 2022-10-03 14:06:22 CEST
At me a chmod -R a+g /usr/share/doc/python3-docs was necessary to view the docs as user. As rpm shows the error is in the package:

> rpm --verify python3-docs-3.8.12-1.mga8
.M.......  d /usr/share/doc/python3-docs/index.html
...

  Additionally I wanna request to give index.html a meaningful <title> tag. This one doesn´t say it is a Python3 doc:
> grep "<title>" /usr/share/doc/python3-docs/index.html
    <meta charset="utf-8" /><title>3.8.12 Documentation</title>

  The title tag is used if you bookmark this page f.i. with Konqueror which is very useful for viewing man pages, info pages and various offline docs.
Comment 1 Morgan Leijström 2022-10-03 17:22:06 CEST
I guess the same problem exist also on Cauldron?

Jani, it seems you pushed new python3 on both last hour, so CC you.

CC: (none) => fri, jani.valimaa

Comment 2 Jani Välimaa 2022-10-03 20:09:13 CEST
Fixed in python3-3.8.14-1.mga8 available in mga8 core/updates_testing.

Depends on: (none) => 30848
Assignee: bugsquad => qa-bugs

Comment 3 Elmar Stellnberger 2022-10-03 20:34:42 CEST
But you haven´t changed the <title> tag of index.html. This report is also about the title tag. I used to have something meaningful here.
Comment 4 Jani Välimaa 2022-10-03 21:16:48 CEST
(In reply to Elmar Stellnberger from comment #3)
> But you haven´t changed the <title> tag of index.html.
I think that's not true.

For mga8 fixed pkg is available in core/updates_testing:
https://svnweb.mageia.org/packages/updates/8/python3/current/SPECS/python3.spec?revision=1894447&view=markup#l436

For cauldron the fix is available, but waiting for the next release:
https://svnweb.mageia.org/packages/cauldron/python3/current/SPECS/python3.spec?revision=1894474&view=markup#l457
Comment 5 Elmar Stellnberger 2022-10-03 21:27:01 CEST Comment hidden (off-topic)
Comment 6 Elmar Stellnberger 2022-10-03 21:31:18 CEST Comment hidden (off-topic)
Comment 7 Elmar Stellnberger 2022-10-04 18:32:51 CEST
Comment 5 and Comment 6 are not off topic. They tell Jani Välimaa how to fix his spec file so that the <title>-tag gets patched by sed.
Comment 8 Jani Välimaa 2022-10-04 21:06:29 CEST
(In reply to Elmar Stellnberger from comment #7)
> Comment 5 and Comment 6 are not off topic. They tell Jani Välimaa how to fix
> his spec file so that the <title>-tag gets patched by sed.
How about testing python3-3.8.14-1.1.mga8 having fixes also for bug 30572 from mga8 core/updates_testing first?
Comment 9 Herman Viaene 2022-10-05 16:13:58 CEST
Resolved by update bug 30848.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA8-64-OK

Comment 10 Thomas Andrews 2022-10-07 03:14:25 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 11 Dave Hodgins 2022-10-08 19:53:50 CEST
Removing the validation tag as this bug report will be closed after bug 30848
has been pushed, rather then using this bug to push the update.

CC: (none) => davidwhodgins
Keywords: validated_update => (none)

Comment 12 Thomas Backlund 2022-10-08 22:24:31 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2022-0359.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.