Opened 4 years ago
Closed 3 years ago
#61099 closed defect (fixed)
Permissions problems with py38-xarray @0.16.0
Reported by: | quintusdias (John G Evans) | Owned by: | petrrr |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-xarray |
Description
There seems to be a permissions problem with this port, many of the installed *.py files have permissions 600 and therefore are not readable by an unprivileged user. Running the test suite as an unprivileged user results in failures. Uninstalling and reinstalling the port does not change anything, but manually adding read permission on the *.py files is a band-aid that seems to get things working again.
Attachments (1)
Change History (4)
Changed 4 years ago by quintusdias (John G Evans)
Attachment: | xarray_reproduction_steps.txt added |
---|
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Owner: | set to petrrr |
---|---|
Port: | py-xarray added; py38-xarray removed |
Status: | new → assigned |
comment:2 Changed 4 years ago by mdekauwe (Martin De Kauwe)
I'm also getting something very similar for python 3.7 and 3.8 versions:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xarray/__init__.py", line 3, in <module> from . import testing, tutorial, ufuncs File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xarray/testing.py", line 8, in <module> from xarray.core import duck_array_ops, formatting, utils File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 724, in exec_module File "<frozen importlib._bootstrap_external>", line 859, in get_code File "<frozen importlib._bootstrap_external>", line 916, in get_data PermissionError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xarray/core/__init__.py'
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
List of steps reproducing the problem, shows tests via ipython and xarray's own test suite