I added instructions to add users to the
disk group when using AUR. This was necessary to get access to usb sticks, in general acces to block devices
/dev/sd[a-z][1-9, as those are in the disk groups.
Is this good practice, or is there another way to achieve this?
I ask, because Users and groups#Pre-systemd groups lists
disk as a group that usually doesn't require users to be added to manually because
systemd takes care of it.
- No, it's not a good practice (and never has been) to add normal users to the
diskgroup. If you do this, they have full access to anything stored on any of your disks, including files normally accessible only by root. If you want normal users to be able to mount removable devices, use udisks or some helper - these are safe tools that run with root privileges, either as daemons or with suid. -- Lahwaacz (talk) 12:12, 28 May 2017 (UTC)