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

Josh Triplett josh at joshtriplett.org
Sun Jun 14 19:42:22 BST 2015


On Sun, Jun 14, 2015 at 02:14:09AM +0200, Michael Biebl wrote:
> Am 14.06.2015 um 01:23 schrieb Josh Triplett:
> > Package: udev
> > Version: 220-6
> > Severity: normal
> > 
> > I don't know if the bug here lies with udev, udisks2, or some other
> > component.
> > 
> > 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.
> > 
> > ~$ cat /sys/block/sdb/removable
> > 1
> > ~$ 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
> 
> udisks2 will mount the device on behalf of the user and make it
> accessible. Nothing really changed it that regard afaics.
> 
> Josh, can you please elaborate?

The disk was mounted, but the device file itself was not made
read/write, so dd'ing a Debian .iso to it required root.  Previously,
that has worked for the logged-in user without requiring root.  (I don't
know how long ago this stopped working.)

- Josh Triplett





More information about the Pkg-systemd-maintainers mailing list