FS#73074 - [python-google-api-core] Wrong permissions under site-packages

Attached to Project: Community Packages
Opened by 31415926 (31415926) - Saturday, 18 December 2021, 04:28 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 19 December 2021, 18:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 13
Private No

Details

Description:
All files in /usr/lib/python3.10/site-packages/google_api_core-2.3.2-py3.10.egg-info and file py.typed in /usr/lib/python3.10/site-packages/google/api_core have permissions 640. Should be 644.

Additional info:
* package version(s)
2.3.2

Steps to reproduce:
pip list
This task depends upon

Closed by  Morten Linderud (Foxboron)
Sunday, 19 December 2021, 18:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.3.2-2
Comment by Sekai (syimyuzya) - Saturday, 18 December 2021, 08:03 GMT
Same problem here.

It also breaks several tools written in Python like `powerline`, `beancount` etc.
Comment by bartus (bartus) - Saturday, 18 December 2021, 12:44 GMT
Bumps the issue, also breaks`python-mdv`
Comment by Mark (fiddlinmacx) - Saturday, 18 December 2021, 12:57 GMT
Sorry about the duplicate ticket. This breaks py3status too.
Comment by Morten Linderud (Foxboron) - Saturday, 18 December 2021, 13:38 GMT
Please refrain from commenting "me too" or similar unless you have anything that helps solve the issue. Use the vote button.
Comment by Morten Linderud (Foxboron) - Saturday, 18 December 2021, 14:44 GMT Comment by Abdullah Khabir (Abdullah) - Sunday, 19 December 2021, 11:05 GMT
This is how I solved it...

```
cd /usr/lib/python3.10/site-packages/google_api_core-2.3.2-py3.10.egg-info
sudo find . -type f -perm 640 -exec chmod 644 {} \;
```

Here is the screenshot...
http://0x0.st/-CQN.png

Loading...