devfs: how do I stop permissions being reset at reboot?

R Kimber rkimber at ntlworld.com
Mon Mar 13 12:57:05 UTC 2006


On Mon, 13 Mar 2006 13:44:56 +0100
Oliver Grawert <ogra at ubuntu.com> wrote:

> hi,
> Am Montag, den 13.03.2006, 12:41 +0000 schrieb R Kimber:
> > I'm trying to run nut with a newly acquired UPS using COM1.  This
> > involves doing
> > 
> > chmod 0600 /dev/ttyS1
> > chown nut.nut /dev/ttyS1
> > 
> > However, these permissions are reset at reboot to
> > 
> > crw-rw----  1 root dialout 4, 64 2006-03-12 18:02 /dev/ttyS0
> > 
> > How should I make my own changes permanent?
> why dont you just add the nut user to the dialout group ?
> apart from that, devfs is obsolete in 2.6 kernels, you want to change
> udev rules (even the proper way is the dialout group for your problem)

Thanks. 'devfs' was a mistake.  I meant 'udev'

-- 
Richard Kimber
http://www.psr.keele.ac.uk/




More information about the ubuntu-users mailing list