Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Beginners Questions • What commands does Thunar use to mount drives?

$
0
0
Automount is a Security issue. Only Admin should be able to mount a drive and do it through the terminal:

Code:

sudo mount /dev/sdb1 /media/Useramesudo umount /dev/sdb1 /media/Username
At least on the default gnome installation the automount part is implemented in gnome and you can disable it there (org/gnome/desktop/media-handling automount=false).

When you mount USB drives through udisks, the mountpoint is protected with an ACL that prevent unauthorized users from tampering with the drive contents. If you have FAT filesystem on a USB drive and use the above command then even the "nobody" user can see contents of your USB drive and even write to it.

Statistics: Posted by lindi — 2024-07-31 13:55 — Replies 40 — Views 8682



Viewing all articles
Browse latest Browse all 3567

Trending Articles