Bug#788662: Logged-in user no longer granted permission to removable disks

Martin Pitt mpitt at debian.org
Mon Jun 15 06:34:28 BST 2015


Hey Josh,

Josh Triplett [2015-06-13 16:23 -0700]:
> I plugged in a removable USB disk, and its devices showed up as root:disk 0660,
> with no ACLs.  Normally, I'd expect removable USB disks to grant
> read/write permission to the logged-in user.
> ~$ ls -l /dev/sdb*
> brw-rw---- 1 root disk 8, 16 Jun 13 16:17 /dev/sdb
> brw-rw---- 1 root disk 8, 17 Jun 13 16:17 /dev/sdb1

That's expected. As Michael already said, we never explicitly granted
user access to device nodes. Maybe in the past some devices got that
through specific group membership, or you had some custom udev rules
to do that; but throughout the history of pmount, hal, consolekit,
udev etc. in Debian the device nodes themselves weren't user
accessible in general. The main exception there that I remember is
Fedora's/Red Hat's ancient console_helper (or something similar) which
actually changed the device nodes themselves. But that was some decade
ago already..

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)





More information about the Pkg-systemd-maintainers mailing list