diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-26 18:48:30 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-27 13:37:27 +0000 |
commit | bd4d9f0257b0c3a6aefe5b6e8d6c3eb986924594 (patch) | |
tree | 84d84e66fa22c93ecc8f924059b0a9e010ea251f /main/busybox-initscripts/mdev.conf | |
parent | 8ea73bd1fa44bde5ade8119015b498aa289daf67 (diff) | |
download | aports-bd4d9f0257b0c3a6aefe5b6e8d6c3eb986924594.tar.bz2 aports-bd4d9f0257b0c3a6aefe5b6e8d6c3eb986924594.tar.xz |
main/busybox-initscripts: fix tun/tap, change their group to netdev
tun/tap devices are created inside /dev/net by default, so tun[0-9]*
and tap[0-9]* doesn't match them.
When you run qemu as an unprivileged user, that user must have write
permission on the tun device. The group netdev seems to be appropriate
for this and it's already included in the baselayout's groups.
Diffstat (limited to 'main/busybox-initscripts/mdev.conf')
-rw-r--r-- | main/busybox-initscripts/mdev.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf index 5605a17d34..44d71479b7 100644 --- a/main/busybox-initscripts/mdev.conf +++ b/main/busybox-initscripts/mdev.conf @@ -96,8 +96,8 @@ dvb.* root:video 0660 */lib/mdev/dvbdev usb[0-9]+ root:root 0660 */lib/mdev/usbdev # net devices -tun[0-9]* root:root 0600 =net/ -tap[0-9]* root:root 0600 =net/ +net/tun[0-9]* root:netdev 0660 +net/tap[0-9]* root:netdev 0660 # zaptel devices zap(.*) root:dialout 0660 =zap/%1 |