[Pkg-uml-pkgs] Bug#516691: please stop breaking the permissions of /dev/net/tun

Marco d'Itri md at linux.it
Mon Feb 23 05:00:52 UTC 2009


Package: uml-utilities
Version: 20070815-1.1
Severity: normal

/etc/network/if-pre-up.d/uml-utilities:

[...]
#
# why the hell does this need to be done?
#
chown root:uml-net /dev/net/tun
chmod 660 /dev/net/tun


Modern kernels (the one in lenny, for a start) only allow processes
with CAP_NET_ADMIN to create new interfaces and require permissions to
be 666 to allow access by unpriviledged programs.
This is documented in Documentation/networking/tuntap.txt .
Just remove this code, udev will set the correct permissions.

-- 
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20090223/a430df3d/attachment.pgp 


More information about the Pkg-uml-pkgs mailing list