Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681198

Summary: net-analyzer/fail2ban - wrong permissions in /usr/lib64/python3.6/site-packages/fail2ban-0.10.4-py3.6.egg-info/PKG-INFO
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-puzzle:lightsoff-3.30.0:20190321-164539.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-03-21 20:36:16 UTC
  File "/usr/lib64/python3.6/site-packages/pkg_resources/__init__.py", line 1587, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib64/python3.6/site-packages/fail2ban-0.10.4-py3.6.egg-info/PKG-INFO'
 * ERROR: games-puzzle/lightsoff-3.30.0::gentoo failed (configure phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_libressl-test_20190317-122112

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.32.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO games-puzzle/lightsoff
[ebuild  N    ] games-puzzle/lightsoff-3.30.0
Comment 1 Toralf Förster gentoo-dev 2019-03-21 20:36:18 UTC
Created attachment 570214 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-21 20:36:21 UTC
Created attachment 570216 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-03-21 20:36:24 UTC
Created attachment 570218 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-03-21 20:36:27 UTC
Created attachment 570220 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-03-21 20:36:29 UTC
Created attachment 570222 [details]
games-puzzle:lightsoff-3.30.0:20190321-164539.log
Comment 6 Toralf Förster gentoo-dev 2019-03-21 20:36:32 UTC
Created attachment 570224 [details]
temp.tbz2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-22 13:21:30 UTC
Atom first.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-22 13:22:31 UTC
What are "python perms"?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-22 13:24:57 UTC
-rw-r--r-- 1 root root 559 Nov  4 14:38 /usr/lib64/python3.6/site-packages/fail2ban-0.10.4-py3.6.egg-info/PKG-INFO

Where did you get a set of permissions that isn't readable by others?
Comment 10 Toralf Förster gentoo-dev 2019-03-22 15:33:59 UTC
The file permissions within that python directory where 600, 644 are expected.

I manually corrected the perms by chmod a+r to let emerge of that tinderbox image continue its work.

But it is the 2nd time in a row (in this months) that this issue happened.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-22 16:58:59 UTC

*** This bug has been marked as a duplicate of bug 659010 ***