[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XMMS: root can / user can not listen Audio CDs



On Sun, Jun 17, 2001 at 06:39:07PM -0400, David Z Maze wrote:
> Thomas Martin <t.h.martin@ieee.org> writes:
> TM> Adding user to group DISK solved my problem.
> 
> You almost definitely don't want to add users to group disk, since
> that gives them read/write access to raw devices for all of your disks 
> (meaning that they can directly read the bits off the hard disk,
> meaning that they can effectively ignore filesystem permissions).
> Better to change the group owner of your cdrom device to 'cdrom' with
> chgrp, and then add users to group 'cdrom'.
> 
> -- 
> David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
> 
O.k. Gerard -- glad to help also a bit:
I removed user "tma" from group "disk" by

       gpasswd -d tma disk     
       
and I changed the owner of my cdrom-drive "/hdc" 
(until now  owner being "disk") by

       chgrp -c cdrom /dev/hdc
       
to "cdrom" (adding -c for getting informed what happens)


User tma has been a member of group "cdrom" before so after these changes
XMMS now may be enjoyed by tma too without letting him destroy important data.

Thanks also to you David for your valuable advice.

This was my first time on this list and I am impressed by speed and quality of
answers.



Reply to: