Re: devfs and changing device permissions

2006-07-30 Thread Robert Huff

Micah writes:

>  >If I want to permanently change the permissions for a device, I
>  > add en entry to /etc/devfs.conf.  Right?
>  
>  Depends. If the device is present when the system boots, yes.

In this case, it's lpt0/


>  That said, I've never had problems using chmod for temporary
>  changes on device nodes.

And it seems to have worked.
Thanks.


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: devfs and changing device permissions

2006-07-30 Thread Micah

Robert Huff wrote:

If I want to permanently change the permissions for a device, I
add en entry to /etc/devfs.conf.  Right?


Depends. If the device is present when the system boots, yes. If it 
shows up later (like a USB drive) then you need to set up some 
/etc/devfs.rules instead.



But that doesn't get picked up until the next time devd is
started.  If I want to change the permissions right now, can I just
go into /dev and use chmod or do I need to fool around with
devfs(8)?


Robert Huff


devfs.rules are applied when you execute /etc/rc.d/devfs restart, and 
that may apply to devfs.conf too (never tried it honestly). That said, 
I've never had problems using chmod for temporary changes on device nodes.


HTH,
Micah
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


devfs and changing device permissions

2006-07-30 Thread Robert Huff

If I want to permanently change the permissions for a device, I
add en entry to /etc/devfs.conf.  Right?
But that doesn't get picked up until the next time devd is
started.  If I want to change the permissions right now, can I just
go into /dev and use chmod or do I need to fool around with
devfs(8)?


Robert Huff


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"