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

Scott J. Henson scotth at csee.wvu.edu
Mon Mar 13 16:48:12 UTC 2006


R Kimber wrote:

>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?
>  
>

Add the following to a file in /etc/udev/permissions.d/

ttyS1:nut:nut:600


-- 
Scott Henson
LCSEE Systems Staff
WVU MAE Undergraduate
Ubuntu User





More information about the ubuntu-users mailing list