FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

python: can't open file '/FrameworkBenchmarks/toolset/run-tests.py': [Errno 13] Permission denied error

Open amirfaramarzi opened this issue 2 years ago • 3 comments

hi After executing the command sudo ./tfb --mode verify --test gemini or sudo ./tfb the following error occurs

python: can't open file '/FrameworkBenchmarks/toolset/run-tests.py': [Errno 13] Permission denied

What should I do

amirfaramarzi avatar Oct 22 '22 19:10 amirfaramarzi

You shouldn't need sudo. Can you give us more information about your environment.

NateBrady23 avatar Oct 23 '22 22:10 NateBrady23

hi @nbrady-techempower

OS: Fedora 36 Kernel: 5.19.15-201.fc36.x86_64 Python 3.10.7 Docker version 20.10.18 If you need any other information, please let me know

I live in Iran . And now I am under the most severe filtering Is it possible that this problem occurs due to filtering?

amirfaramarzi avatar Oct 24 '22 06:10 amirfaramarzi

I'm also on fedora and having the same issue. The /FrameworksBenchmarks mount has weird permissions uid and gid are 1000 and so the root user can't access the directory. I'm not exactly sure why this might be.

@amirfaramarzi You need to reinstall docker; follow the install instructions from the docker website here https://docs.docker.com/engine/install/fedora/#set-up-the-repository

Blquinn avatar Jan 29 '23 16:01 Blquinn