Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-03-2010, 03:09 AM   #1
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
udev rules to automatically apply 666 permission

Hi on my linux box the device node for my printer is by default setup as the following:
crw-rw---- 1 root lp 189, 1 Apr 3 07:45 /dev/bus/usb/001/002

This causes cups to not print at all. The Hp backend (HPLIP) fails because of these permissions. How do I change it so that it's
crw-rw--rw 1 root lp 189, 1 Apr 3 07:45 /dev/bus/usb/001/002. Ie I would like 666 file permission on that node.

I'm not familiar with udev so a step by step instructions would be greatly appreciated.
Old 04-03-2010, 03:24 AM   #2
LQ Newbie
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
did you try to run this command as a root:

# chmod 666 /dev/bus/usb/001/002 ?
Old 04-03-2010, 04:31 AM   #3
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
yes thanks for the suggestion but that isn't permanent. The udev files get removed after the device is unpluged or switched off. Actually Hp drivers had a file called 55-hpmud.rules. I just changed the mode to be 666 instead of 660. That was painless lol.
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??11", OWNER="root", GROUP="lp", MODE="666"


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
/home permission 666 shah_dan Linux - Newbie 4 03-17-2010 02:33 PM
[SOLVED] qemu group permission through udev rules for /dev/kqemu for slackware64 13.0 - how? btncix Slackware 1 09-28-2009 01:33 AM
cat: /etc/udev/rules.d/70-persistent-net.rules: No such file or directory rcg1984 Linux From Scratch 2 09-17-2008 08:02 AM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 04:43 AM
Errot 403 on 666 permission file baosheng Linux - Software 4 10-10-2005 06:00 AM

All times are GMT -5. The time now is 04:33 AM.

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