VirtualBox

4 年 前 建立

4 年 前 結束

#20073 closed defect (worksforme)

mount fails after vboximg-mount

回報者: andre-at-cp67 負責人:
元件: virtual disk 版本: VirtualBox 6.1.16
關鍵字: vboximg-mount 副本:
Guest type: all Host type: Linux

描述

after vboximg-mount -i uuid {mount-point}
mount fails with message "cannot mount m/vol0 read-only"

host is Linux Debian 10.6
VirtualBox 6.1.16r140961
guests: Debian (ext4) and Windows (NTFS)

附加檔案 (1)

Ticket-20073-1-details.txt (1.8 KB ) - 4 年 前, 由 andre-at-cp67 新增
commands and context details

下載所有附檔: .zip

更動歷史 (3)

4 年 前andre-at-cp67 編輯

commands and context details

comment:1 4 年 前paulson 編輯

$ vboximg-mount -i 9517fcf0-c5c9-4edf-8631-ca78e15b88ad m
$ sudo mount m/vol0 /mnt
mount: /mnt: cannot mount m/vol0 read-only.

In order for root to be able to access the FUSE mounted virtual disk image located at 'm' you need to supply either '--root' to the vboximg-mount command line or '-o allow_root'. It turns out that '--root' is currently ignored due to a regression but '-o allow_root' will allow root to be able read the FUSE mounted virtual disk image. Note that as per the FUSE man page you might need to edit /etc/fuse.conf to be able to supply '-o allow_root' as a regular user:

CONFIGURATION
       Some  options  regarding  mount  policy  can  be  set   in   the   file
       /etc/fuse.conf. Currently these options are:

       user_allow_other
              Allow non-root users to specify the  allow_other  or  allow_root
              mount options (see below).

comment:2 4 年 前paulson 編輯

狀態: newclosed
處理結果: worksforme

The regression regarding the '--root' option being ignored has been addressed in VirtualBox 6.1.20. Otherwise things work here as expected for me.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette