Bug 252779 - emulators/virtualbox-ose 5.2.44 r139111: Cannot open host device '/dev/cd0' for readonly access. Check the permissions of that device (VERR_ACCESS_DENIED)
Summary: emulators/virtualbox-ose 5.2.44 r139111: Cannot open host device '/dev/cd0' f...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL: https://redd.it/kz48q7
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2021-01-17 13:31 UTC by Graham Perrin
Modified: 2023-08-31 01:32 UTC (History)
0 users

See Also:


Attachments
VirtualBox behaves as if it can not read from the device (225.15 KB, image/png)
2021-01-17 13:31 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-01-17 13:31:09 UTC
Created attachment 221674 [details]
VirtualBox behaves as if it can not read from the device

dd(1) and gdd(1) can read from the device, for example: 


% date ; uname -v
Sun 17 Jan 2021 13:28:38 GMT
FreeBSD 13.0-CURRENT #75 main-c572-g82397d791: Sun Jan  3 20:00:09 GMT 2021     root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 
% gdd status=progress bs=24M if=/dev/cd0 of=/tmp/foo.iso
100663296 bytes (101 MB, 96 MiB) copied, 30 s, 3.4 MB/s^C
5+0 records in
4+0 records out
100663296 bytes (101 MB, 96 MiB) copied, 35.0774 s, 2.9 MB/s

% 

----

% ls -dhl /dev/cd0
crw-rw-rw-  1 root  operator   0x8e 17 Jan 08:51 /dev/cd0
% pw groupshow operator
operator:*:5:root,grahamperrin,bbsadmin-l
% whoami
grahamperrin
% ps aux | grep -i virtualbox
grahamperrin  6049   0.0  1.2   381936  193844  -  S    09:06     0:57.96 /usr/local/lib/virtualbox/VirtualBox
grahamperrin  6078   0.0  0.1    28936   15432  -  S    09:06     0:09.42 /usr/local/lib/virtualbox/VBoxXPCOMIPCD
grahamperrin  6080   0.0  0.7   206152  119600  -  S    09:06     0:26.99 /usr/local/lib/virtualbox/VBoxSVC --auto-shutdown
grahamperrin 12196   0.0  0.3    85504   45972  -  I    10:21     0:00.03 /usr/local/lib/libexec/kf5/kioslave5 /usr/local/lib/qt5/plugins/kf5/kio/file.so file local:/var/run/user/1002/VirtualBoxMOtLyZ.2.slave-so
grahamperrin 13448   0.0  0.0    13052    2792  2  S+   10:36     0:00.00 grep -i virtualbox
%

----

Log out not required; I have been using VirtualBox on this computer for around two years.