Cannot open /proc/net/unix: Permission denied
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey there 👋
Could you share a bit more about your setup?
Are you running Termux on a local Android device or inside a DigitalOcean Droplet? The error
Cannot open /proc/net/unix: Permission denied
usually points to permission restrictions, but it’s hard to say for sure without more context.If you’re running this on a Droplet, are you using a regular user or root? And what exactly are you trying to do with
fuser
? Happy to help if you can provide a bit more detail.- Bobby
Heya, @mrpinky2022
You need root access to use
fuser
properly on Android.If your device is not rooted,
fuser
will be limited in functionality — especially when it comes to detecting which processes use a file, socket, or port.If you can shed more details on what you’re trying to achive we can point you on how to set everything.
Regards
Heya,
In Termux, if you’re trying to use
fuser
and see this error:it usually means that
fuser
requires elevated privileges (root access) to read certain files under/proc
, like/proc/net/unix
.Can you let us know a little bit more on how you actually host Termux, do you have root access?