User Tools

Site Tools


Manipulate storage devices with D-Bus udisks2

Debian 11 Bullseye installs the udisks2 package, which allow storage devices to be mounted in user sapace.

exFAT default mount options

We prefer to have the fmask=0133 mount option when mounting external exFAT storage device (e.g. SD card from the action camera); having the exec bit enabled on images and videos is quite annoying.

Create the file /etc/udisks2/mount_options.conf with:


Restart the daemon with

systemctl restart udisks2.service

then check that you can mount a device using a regular unprivileged user:

udisksctl mount -b /dev/sdb1

Using mount verify that the mounting options are the ones expected:

doc/appunti/linux/sa/udisks2.txt · Last modified: 2022/01/01 17:35 by niccolo