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!
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:
Cannot open /proc/net/unix: Permission denied
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?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.