When testing a python3 UI on cvmfs I run into a problem when using
/cvmfs/grid.cern.ch/etc/grid-security/vomses (permissions: 775)
and similar locations for my X509 variables
This is caused by
|
if (pathMode & allPerms) ^ requiredDirPerms: |
which seems to expect the permissions to be 755
It then triggers the shutil bug mentioned in the code (
https://bugs.python.org/issue44205) and any DIRAC command using this crashes.
@chrisburr @sfayer is pondering why you aren't using os.access instead ?
And I am wondering why you check for anything beyond read and execute access ?
When testing a python3 UI on cvmfs I run into a problem when using
/cvmfs/grid.cern.ch/etc/grid-security/vomses (permissions: 775)
and similar locations for my X509 variables
This is caused by
DIRAC/src/DIRAC/Core/Security/VOMS.py
Line 238 in f340453
which seems to expect the permissions to be 755
It then triggers the shutil bug mentioned in the code (https://bugs.python.org/issue44205) and any DIRAC command using this crashes.
@chrisburr @sfayer is pondering why you aren't using os.access instead ?
And I am wondering why you check for anything beyond read and execute access ?