LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


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

Rep: Reputation: 0
Setting dev privileges after hotplugging


Hello,

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?

Thanks,

K
 
Old 04-29-2006, 10:31 AM   #2
maroonbaboon
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
Kharmaslaw
LQ Newbie
 
Registered: Aug 2004
Posts: 4

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

K
 
  


Reply

Tags
chmod, hotplug, mobile, nokia, privileges, udev



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:22 PM.

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