FS#77983 - python-absl: incorrect permissions

Attached to Project: Arch Linux
Opened by - (xiota) - Friday, 24 March 2023, 12:45 GMT
Last edited by Leonidas Spyropoulos (inglor) - Friday, 24 March 2023, 19:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Leonidas Spyropoulos (inglor)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

While trying to build a another python package, I got a long chain of errors ending with:

PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.10/site-packages/absl_py-1.4.0-py3.10.egg-info/PKG-INFO'

The permissions of the contents of that folder are 640. The permissions of similar files from other packages are 644. Running the following command fixes the issue:

sudo chmod 644 '/usr/lib/python3.10/site-packages/absl_py-1.4.0-py3.10.egg-info/'*


Additional info:
* package version(s)

community/python-absl 1.4.0-1 [installed]

Steps to reproduce:

$ ls -la '/usr/lib/python3.10/site-packages/absl_py-1.4.0-py3.10.egg-info/'
total 56
drwxr-xr-x 2 root root 90 2023-03-24 05:36:10 .
drwxr-xr-x 496 root root 24576 2023-03-24 05:22:34 ..
-rw-r----- 1 root root 2310 2023-03-23 19:22:43 PKG-INFO
-rw-r----- 1 root root 750 2023-03-23 19:22:43 SOURCES.txt
-rw-r----- 1 root root 1 2023-03-23 19:22:43 dependency_links.txt
-rw-r----- 1 root root 5 2023-03-23 19:22:43 top_level.txt

$ ls -la '/usr/lib/python3.10/site-packages/wheel-0.38.4-py3.10.egg-info/'
total 68
drwxr-xr-x 2 root root 154 2023-03-17 00:24:51 .
drwxr-xr-x 496 root root 24576 2023-03-24 05:22:34 ..
-rw-r--r-- 1 root root 2060 2022-11-17 20:07:00 PKG-INFO
-rw-r--r-- 1 root root 2148 2022-11-17 20:07:00 SOURCES.txt
-rw-r--r-- 1 root root 1 2022-11-17 20:07:00 dependency_links.txt
-rw-r--r-- 1 root root 107 2022-11-17 20:07:00 entry_points.txt
-rw-r--r-- 1 root root 1 2022-11-17 20:07:00 not-zip-safe
-rw-r--r-- 1 root root 22 2022-11-17 20:07:00 requires.txt
-rw-r--r-- 1 root root 6 2022-11-17 20:07:00 top_level.txt
This task depends upon

Closed by  Leonidas Spyropoulos (inglor)
Friday, 24 March 2023, 19:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.4.0-2 fixed

Loading...