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

Re: /dev/plex86 permissions



On Mon, 07 Jan 2002 22:07:02 Matt Zimmerman wrote:
> On Mon, Jan 07, 2002 at 12:28:11PM +0100, Russell Coker wrote:
> 
> > Currently /dev/plex86 defaults to mode 666 on devfs.  Is this really
> desired?
> > 
> > Perhaps we should have a plex86 group and make the device node default
> to 
> > mode 660 and group plex86?
> 
> I would say that it should default to 600 and be adjusted by the local
> admin.  Or is it possible for plex86 to set things up correctly at
> installation time by dropping a config file under /etc/devfs/conf.d?

Hello,

Running Plex86 as root is likely dangerous and in any case
severely discouraged, so I don't see why an admin would want to have
/dev/plex86 chmod'ed 600, restricting Plex86 usage to the superuser.

Russel, I can see some conffiles in /etc/devfs/conf.d but they don't
belong to the devfsd package. Shouldn't i provide them myself?

I guess this is the proper line to do so:

REGISTER plex86   PERMISSIONS root.plex86  0660

Also policy specifies that the MAKEDEV script should be used
when a package needs device files. Are you sure if devfsd is
policy-compliant?

Upstream does it with mknod. Is it possible to create the plex86
device with MAKEDEV? In case it is i don't know how to do it
with MAKEDEV, someone could enlighten me?

Thanks,

-- 
----------------------------------------------------
Robert Millan          Debian/GNU user
zeratul2 wanadoo es    http://getyouriso.dyndns.org/
----------------------------------------------------



Reply to: