[Nix-dev] /dev/vboxdrv operation not permitted

Florian Friesdorf flo at chaoflow.net
Mon May 25 15:36:31 CEST 2015


% nixops deploy -d myvbox
--> Kernel driver not accesible
--> strace shows "Operation not permitted" on /dev/vboxdrv


I freshly logged in, even rebooted _a_couple_of_times_ by now (for other
reasons:


% groups
cfl wheel audio cdrom video vboxusers kvm nixtest

% ls -l /dev/vboxdrv
crw-rw---- 1 root vboxusers 10, 58 May 25 15:03 /dev/vboxdrv

% cat /dev/vboxdrv
cat: /dev/vboxdrv: Operation not permitted

% sudo cat /dev/vboxdrv 
cat: /dev/vboxdrv: Invalid argument    (Good!)

% ls -l /tmp/foo         
-rw-rw---- 1 root vboxusers 0 May 25 15:33 /tmp/foo

% cat /tmp/foo 
foo


% sudo nixops deploy -d myvbox
--> works


What is going on?

-- 
Florian Friesdorf <flo at chaoflow.net>
GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150525/f08af379/attachment.bin 


More information about the nix-dev mailing list