Translate

[VirtualBox] 'vbox_path' for reading: -38(Access denied). 오류사항 해결방법




환경
OS: ubuntu 15.10 gnome
VirtualBox Version: 5.0.16 r105871





증상

오랜만에 VirtualBox를 켜니 아래와 같이 해당 이미지가 Inaccessible 이라고 표시되며 실행할 수 없는 상황이 되었고 'Refresh'를 눌러도 별 다른 반응이 없었다.
1004lucifer




Runtime error opening '/home/lucifer/VirtualBox VMs/Windows XP/Windows XP.vbox' for reading: -38(Access denied.).
/home/vbox/vbox-5.0.16/src/VBox/Main/src-server/MachineImpl.cpp[740] (nsresult Machine::i_registeredInit()).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd}
1004lucifer






해결방법
1004lucifer
터미널을 열어 아래와 같이 문제가 있는 파일의 소유자를 변경해 준다.
(터미널 단축키: Ctrl + Alt + T)





lucifer@lucifer-Vostro-V13:~$
lucifer@lucifer-Vostro-V13:~$ cd /home/lucifer/VirtualBox\ VMs/Windows\ XP/
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$ ls -al
total 3110376
drwxrwxr-x 4 lucifer lucifer 4096 5월 20 12:18 .
drwxrwxr-x 3 lucifer lucifer 4096 4월 15 23:02 ..
drwx------ 2 lucifer lucifer 4096 5월 20 11:40 Logs
drwx------ 2 lucifer lucifer 4096 4월 16 00:43 Snapshots
-rw------- 1 root root 30008 5월 20 12:18 Windows XP.vbox
-rw------- 1 root root 30760 5월 20 12:18 Windows XP.vbox-prev
-rw------- 1 lucifer lucifer 3186622464 4월 16 00:11 Windows XP.vdi
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$ chown lucifer:lucifer Windows\ XP.vbox*
chown: changing ownership of ‘Windows XP.vbox’: Operation not permitted
chown: changing ownership of ‘Windows XP.vbox-prev’: Operation not permitted
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$ sudo chown lucifer:lucifer Windows\ XP.vbox*
[sudo] password for lucifer:
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$ ls -l
total 3110368
drwx------ 2 lucifer lucifer 4096 5월 20 11:40 Logs
drwx------ 2 lucifer lucifer 4096 4월 16 00:43 Snapshots
-rw------- 1 lucifer lucifer 30008 5월 20 12:18 Windows XP.vbox
-rw------- 1 lucifer lucifer 30760 5월 20 12:18 Windows XP.vbox-prev
-rw------- 1 lucifer lucifer 3186622464 4월 16 00:11 Windows XP.vdi
lucifer@lucifer-Vostro-V13:~/VirtualBox VMs/Windows XP$








어쩌다가 파일의 소유자가 root가 되었는지는 잘 모르겠지만 위와같이 작업 후 'Refresh' 버튼을 누르면 다시 정상적으로 사용이 가능해진 것을 볼 수 있다.



댓글