Re: [SLUG] Changing default ownership of /dev device in Ubuntu Hardy

2008-10-09 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

> Where and how do I fiddle to changes this so it sticks across reboots?

Here we go:

http://www.debianhelp.org/node/5003#comment-36703

A file in /etc/udev/rules.d/ containing:

SUBSYSTEM=="tty", KERNEL=="ttyS0", OWNER="lp", GROUP="lp" 

Erik
-- 
-
Erik de Castro Lopo
-
"Windows was created to keep stupid people away from UNIX."
  -- Tom Christiansen
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Changing default ownership of /dev device in Ubuntu Hardy

2008-10-09 Thread Scott Finneran
> Hi all,
> 
> I currenty have a device with the following permissions and ownership:
> 
> crw-rw 1 root dialout 4, 64 Oct 10 11:05 /dev/ttyS0
> 
> Where and how do I fiddle to changes this so it sticks across reboots?
> 

The short answer is udev (or at least that is the approach I have taken in the 
past). There are some good pointers here: 

http://www.debianhelp.org/node/5003#comment-36703

Scott



  Make the switch to the world's best email. Get Yahoo!7 Mail! 
http://au.yahoo.com/y7mail
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Changing default ownership of /dev device in Ubuntu Hardy

2008-10-09 Thread Erik de Castro Lopo
Hi all,

I currenty have a device with the following permissions and ownership:

crw-rw 1 root dialout 4, 64 Oct 10 11:05 /dev/ttyS0

Where and how do I fiddle to changes this so it sticks across reboots?

TIA,
Erik
-- 
-
Erik de Castro Lopo
-
"Men who use terrorism as a means to power, rule by terror
once they are in power."
-- Helen Macinnes
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html