-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to mount external USB drives #23
Comments
@tortugaverde98 Is the thumbdrive encrypted? This advice may apply: The |
It is not encrypted, and the filesystem is fat32. I have two identical templates (fedora 28), and the only difference between them is that one has been hardened and passwordless root removed, but all the other qubes agents reinstalled, including polkit. Something needs to be whitelisted so the hardening script allows it to mount. |
Attempting to gather more specifics, I ran the command below with the resulting response. Are there any workarounds that don't involve running a dom0 root xterm?: $ udisksctl mount -b /dev/xvdi1 |
This looks like an upstream Qubes issue. Without vm-boot-protect present I can reproduce the behavior by first following the Qubes vm-sudo doc. Same result if I remove the qubes-core-agent-passwordless-root package. Likewise, installing nautilus in a fedora-minimal template and trying to use it to mount disks should lead to the same auth failure because that template doesn't come with passwordless-root installed. There may still be some mechanism by which nautilus can mount volumes in an auth-restricted VM. For instance if some setting or policy makes nautilus use sudo, then a VM configured for sudo prompts should trigger a dom0 auth prompt before successfully running mount. Also, this suid method might work. |
Additional ideas for workarounds: |
To clarify, it is required to remove passwordless root on fedora templates, correct? |
Attempting on a debian minimal template, with the same result. Any suggestions to get this going? |
From an appvm with a hardened template, unable to mount an external usb thumbdrive.
Nautilus/Files shows it is present, but once clicked on to mount, error pops up: Unable to access location, not authorized to perform action.
From Disks, error is "Error mounting filesystem" Not authorized to perform operation (udisks-error-quart, 4).
I realize it's possible to mount it via a root xterm from dom0, but is there something that can be whitelisted or something to allow USBs to be mounted as normal?
The text was updated successfully, but these errors were encountered: