I’m having a little trouble using my second internal drive as a storage-device in my Qubes/AppVMs.
Overview:
- 2 internal drives
- First one with Qubes OS installed
- Second one partitioned/formatted with
fdisk
and one ext4 partition -
sys-usb
is configured
As my second block (storage) device (internal) isn’t a USB device, it is naturally attached to dom0. When I attach it via the USB icon to the Qube of my choice, I can see the drive in the file manager but can’t use it (moving/pasting files etc.)
When I look at the Properties → Permissions tab, it states that the owner is root
. But, if I attach an USB device via the USB icon from sys-usb
to a Qube of my choice, the ownership and permissions are correct in the way that I can access and work with the device in my Qube.
My partitioning step-by-step:
- Open dom0 terminal
sudo -i
fdisk /dev/sda
-
n
(for new partition) -
Enter
(select default → 'primary) -
2
(Partition number) -
Enter
(select default first sector number) -
Enter
(select default last sector number) -
w
(to write changes to the Linux system)
My formatting of the just created partition step-by-step:
sudo mkfs -t ext4 /dev/sda1
My question:
How can I configure the drive in a way that when I attach it to a Qube the permissions are correct? Or is this not possible with an internal block (storage) device that isn’t USB?