]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
udev-extraconf: Allow FAT mount group to be specified
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 10 Jan 2025 16:00:55 +0000 (09:00 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Jan 2025 11:57:45 +0000 (11:57 +0000)
commitc723dbc329d4cf2a75022f8dd1cfa304383bb4f5
tree3787754994479f541a5962187261cc4cfae4e978
parentb3bc820e58b65a976e0abce85fcdffd067697ecf
udev-extraconf: Allow FAT mount group to be specified

Adds a variable that allows the group given permissions to access FAT
mounted file systems to be specified, instead of being hardcoded to
'disk'.

As a note, the usage of 'disk' as the mount group is not a very secure
default, since the disk user usually has read/write access to all block
devices in /dev/, meaning that adding a user to this group for the
purpose of accessing FAT file systems effectively gives the write access
to all block devices.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev-extraconf/mount.sh
meta/recipes-core/udev/udev-extraconf_1.1.bb