Skip to content
Commit a342316c authored by David Zeuthen's avatar David Zeuthen
Browse files

[gdu] Be more careful with automounting - use a whitelist



The current behavior is that we try to automount all filesystems. This
has unintended consequences for big iron boxes connected to a SAN when
the user is logging in as root (thus having all polkit authorizations
at hand) - literally hundreds or thousands of devices may get mounted.

As such, only automount filesystems from the current whitelist

 - anything connected via USB or Firewire or SDIO buses
 - optical discs

Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
parent 9d815258
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment