On 6/2/26 12:30 PM, Patrick Dupre via users wrote:
On 6/2/26 8:17 AM, Todd Zullinger wrote:
Patrick Dupre via users wrote:
Sent: Tuesday, June 02, 2026 at 6:53 AM
From: "Samuel Sieb" <[email protected]>
To: [email protected]
Subject: Re: "auto mount"
On 5/30/26 6:08 AM, Patrick Dupre via users wrote:
I have an external SSD with several partitions.
After I plugged it, only the fat32 partitions are mounted in /run/media/user
The ext4 partitions are not mounted.
What can I do to have an automount of a specific (or not) ext4 partition.
Note that these partition do not show up in the file organizer
This is intentional. There's a udev rule blocking automount of ext*
partitions. See /usr/lib/udev/rules.d/64-ext4.rules
If you really want to override it, then copy that file to
/etc/udev/rules.d and change the 0 to a 1.
Thank Sam.
Keep in mind that this opens you up to various attacks
(most, if not all, of which require physical access, I
believe).
Yes, hence the "evil maid" comment in the rule file.
It's either someone plugging a USB drive into your computer or giving
you one that you plug in. If that's not a threat vector you're
concerned about, then it's fine.
In my opinion, the automount of ext4 must be allowed when the owner of the usb
stick
partition is the same has the logged user. This is exactly what I used to do.
This is relatively secure. Of course it assumes taht the sitck has not been
violated by a third party
(like owner usurpation). When I wish to project an USB partition, I encrypt it
which is supposed
to be safe by fedora since, it is automounted.
You can't determine that until you've opened the filesystem which has
already opened you to the attack. And anyone could trivially set the
filesystem to your user id. So it's still down to how much you trust
the physical security of your computer and any USB drives you plug into
it. That's why the default is disabled, but is easily overridden if you
choose.
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new