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

Re: chmod????



On Fri, Apr 30, 2004 at 01:45:38PM +0200, Vincent Lefevre wrote:
> On 2004-04-27 17:20:01 +0200, Sjoerd Simons wrote:
> > On Tue, Apr 27, 2004 at 11:02:32AM +0200, Vincent Lefevre wrote:
> > > The right way to do is probably to let the group unchanged and to
> > > put yourself in the disk group.
> > 
> > You should never put yourself in group disk. This gives you raw rw
> > access to all your disk devices and partitions, which is very dangerous.  
> > Just change the group of the cdrom device to group cdrom
> 
> OK, so why isn't it done by default?

Because with a static /dev you can't know beforehand if a /dev/hdX will
be a cdrom device or a normal harddisk. So to be on the safe side, the
default is root.disk.

With something like udev the permissions are ``correct'', because it has
somewhat more information about the device.

  Sjoerd
-- 
If you are not for yourself, who will be for you?
If you are for yourself, then what are you?
If not now, when?



Reply to: