rootless-containers / slirp4netns

User-mode networking for unprivileged network namespaces
GNU General Public License v2.0
729 stars 82 forks source link

Open("/dev/net/tun"): Permission denied #283

Open stamerf opened 2 years ago

stamerf commented 2 years ago

Hello,

I tried to follow your "usage" tutorial but get a permission denied when trying to run "slirp4netns --configure --mtu=65520 --disable-host-loopback $(cat /tmp/pid) tap0 starting slirp, MTU=65520" as a non root user

It works when executed as root. The rights to "tun" are already chmod 666. Do you have any advice?

Thanks in advance