I had the same problem but the cause and solution is different.

Perhaps it's a Mandriva thing, but the tun module is loaded in the
default.nodes list in /etc/udev.devices.d. These are created
independently at udev startup and so never go through the main rules -
they all have permissions of 0600.

To sort it, comment out the line in default.nodes which reads

net/tun      c 10 200
i.e make it
# net/tun c 10 200

then add the line

tun

to /etc/modprobe.preload

now the tun will be loaded by the normal udev rules which you can edit or 
over-ride. In mandriva the rule is in 
/lib/udev/50-udev-default.rules
KERNEL=="tun",                  NAME="net/%k", MODE="0666", 
OPTIONS+="ignore_remove"

which you can edit to add the vboxuser group (or whatever)
KERNEL=="tun",                  NAME="net/%k", MODE="0666", GROUP="vboxuser", 
OPTIONS+="ignore_remove"

which is OK, but this file will be overwritten if there is a udev update
and need to be edited again, so you may be better adding your own
override.

-- 
Cannot change /dev/net/tun file permissions with udev
https://bugs.launchpad.net/bugs/265138
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to