Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-29-2006, 08:39 AM   #1
LQ Newbie
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Setting dev privileges after hotplugging


I have a Nokia Communicator and after I plug it in with the serial cable, Ubuntu hotplugs it automatically. The problem is that when it creates /dev/ttyACM0 which is used by the driver, it sets the privileges so that only root can access it. I would like to have every user access (with Gnokii), so I have to chmod it as root every time the phone is connected. I have to do this every time when the phone is removed from the dock, since /dev/ttyACM0 gets deleted.

How do I set it so that /dev/ttyACM0 privileges are automatically set when the phone is hotplugged?


Old 04-29-2006, 10:31 AM   #2
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
If the device file is created dynamically by udev it looks like the access mode can be set in the udev rules file /etc/udev/rules.d/udev.rules.

The man page for the udev.conf file also mentions /etc/udev/permissions.d/. I'm not sure what additional features that provides.
Old 04-29-2006, 11:34 AM   #3
LQ Newbie
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks! That worked. I added a rule to /etc/udev/permissions.rules.



chmod, hotplug, mobile, nokia, privileges, udev

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
setting dev/modem to a value fatherg Linux - General 4 12-01-2004 12:28 PM
Setting administrator privileges? Clubber Lang Linux - General 0 10-21-2004 03:38 PM
qmail: setting up alias to go to /dev/null? m3kgt Linux - Software 4 11-18-2003 03:50 PM
/dev/ttyS4 setting for modem sourlinux Linux - Newbie 3 10-19-2003 12:55 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration