Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nr-binder permission denied issue #724

Open
Noufel17 opened this issue Aug 16, 2024 · 2 comments · May be fixed by #743
Open

nr-binder permission denied issue #724

Noufel17 opened this issue Aug 16, 2024 · 2 comments · May be fixed by #743

Comments

@Noufel17
Copy link

I get nr-binder: permission denied when I try to use it, I tried setting SYS_ADMIN and NET_ADMIN capabilities on the ueransim pod but no luck, I'm working on Kubernetes environment

@laf0rge
Copy link

laf0rge commented Aug 30, 2024

This appears to be a problem of your containerized environment / container runtime. There can be many reasons, for example a SECCOMP filter that causes the "permission denied". I don't think this is an issue with UERANSIM!

@mrmohitrathod
Copy link

I had similar behavior and then I have given the appropriate permissions to this file.

root@ubuntu:/UERANSIM/build# ./nr-binder 192.168.2.1 curl google.com
bash: ./nr-binder: Permission denied
root@ubuntu:
/UERANSIM/build# sudo chmod a+x nr-binder
root@ubuntu:/UERANSIM/build# ll
total 10876
drwxr-xr-x 2 root root 4096 Sep 2 12:36 ./
drwxr-xr-x 9 root root 4096 Sep 2 12:19 ../
-rwxr-xr-x 1 root root 15560 Sep 2 12:31 libdevbnd.so*
-rwxr-xr-x 1 root root 365 Sep 2 12:31 nr-binder*
-rwxr-xr-x 1 root root 350944 Sep 2 12:31 nr-cli*
-rwxr-xr-x 1 root root 6181328 Sep 2 12:31 nr-gnb*
-rwxr-xr-x 1 root root 4564216 Sep 2 12:31 nr-ue*
-rw-r--r-- 1 root root 1926 Sep 2 12:36 open5gs-ue.yaml
root@ubuntu:
/UERANSIM/build# ./nr-binder 192.168.2.1 curl google.com

<TITLE>301 Moved</TITLE>

301 Moved

The document has moved here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants