It is quite simple:
1. change path to "/etc/udev/rules.d/" (krusader/mc/konsole)
2. inside "rules.d" directory create file named "99-udisks2.rules" (needs root; or similar name with .rules extension)
3. edit mentioned file, adding lines:
- Code: Select all
# UDISKS_FILESYSTEM_SHARED
# ==1: mount filesystem to a shared directory (/media/VolumeName)
# ==0: mount filesystem to a private directory (/run/media/$USER/VolumeName)
# See udisks(8)
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"
**************** do not add this line *****************
Udev automatically detects changes to rules files, so changes take effect immediately without requiring udev to be restarted. However, the rules are not re-triggered automatically on already existing devices. Hot-pluggable devices, such as USB devices, will probably have to be reconnected for the new rules to take effect.
If rules fail to reload automatically
4. Load created rules (use root shell in konsole) : # udevadm control --reload
or reboot system
Thats all! Changes becames permanent.