Score:0

System policy prevents writing a disk image to this device

mw flag

I get this error while trying to make a LiveUSB from an existing iso.

enter image description here

I have added myuser to sudoers in /etc/sudoers

# User privilege specification
root    ALL=(ALL:ALL) ALL
myuser     ALL=(ALL:ALL) ALL

And I enter the password correctly.

I have also tried both /dev/sdc1 (the destination disk) mounted and unmounted. To be sure I chowned /dev/sdc1 to be owned by myuser.

The same goes for gparted. I can not run it as myuser but I can when I run it from command line sudo gparted.

So I'm wondering why this error happens and how it be fixed?

ru flag
I assume you rebooted or logged out and back in after adding your user to sudoers? That requires a relogin or a reboot to refresh your current user permissions/groups
blnks avatar
mw flag
Yes I did reboot but to no avail.
blnks avatar
mw flag
Found it! This solved the problem immediately (running as root): `adduser myuser sudo` . Apparently user need to be added to sudoers group manually.
Score:0
mw flag

This solved the problem immediately (running as root):

adduser myuser sudo 

Apparently user needed to be added to sudoers group manually.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.