Operation not permitted - Sudo access missing
Hi, I am currently trying to install
python3-venv
on my runpod instance.
However I am getting bunch of sudo: setrlimit(RLIMIT_NOFILE): Operation not permitted
messages and ultimately the install finishes with ModuleNotFoundError: No module named 'apt_pkg'
However python was not installed. If I try sudo -v
it shows:
So it appears as im missing sudo/admin permissions? How can that be and how do I get them.25 Replies
You are already root when you connect to the instances
yea i assume so, but why am I getting these errors?
did you just run apt update && apt install python3-venv -y
yea I did
To be precise I did the following
Remove all the sudos
tried now im seeing this
so again some weird perm issue ðŸ˜
Why are you in default instead of root ?
@Volko probably custom image that has some user created
setrlimit wont work as it requires provilaged container
@Papa Madiator @Volko sers, what does that mean? what do I need to do
I am using the runpod dekstop image btw
RunPod Desktop
runpod/kasm-docker:cuda11
Try to connect to the root
ssh to you user and password
Try su -
you mean connect web terminal? I usually do connect to HTTP
Quit your page and click again on "connect to web terminal" and send a screenshot
trying. Not sure why but so far it's not loading at all
?
Strange
very much. Its definitely not a user created image, so I should have root access even when I login thru web service
alr its working in another browser. w/e
I am trying to login using the credentials it shows below webterminal
says
switched to vast. No issues there
But I would love to find a solution to this
would be cool to know docker image name
What you mean?
I shared it here, isnt it that?
Tell what docker image you are trying to run
Sorry?
Its already running the runPod template. Not sure what else u mean
| that more specific for you/did u mean that?
Use this one instead #Accelerated Linux Desktop
will try and report back