|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Printer dont take rights
Hello,
I try to deal with my usb printer but I dont understand why it dont works as I set it. I set in devfs.conf : perm ulpt0 0666 perm ulpt1 0666 But when I connect the printer what I get is : ls -l /dev/ulpt0 crw-r--r-- 1 root operator 0, 138 4 oct 11:36 /dev/ulpt0 and I have to set manually with root : chmod 0666 /dev/ulpt0 ls -l /dev/ulpt0 crw-rw-rw- 1 root operator 0, 138 4 oct 11:36 /dev/ulpt0 to enable printing with any account. I guess it's could be related that printer not connect at system start but connected later but what's wrong ? |
|
||||
/etc/devfs.conf is only used at boot time or when devfs is restarted, the first few lines of the devfs.conf(5) manpage say this. If you have a USB printer that you are plugging in after boot time, you should use /etc/devfs.rules. Very basically, you could add to it:
Code:
[system=10] add path 'ulpt*' mode 0666 Code:
devfs_system_ruleset="system" See the following manpages for more details: devfs.rules(5), devfs(8) Last edited by BSDKaffee; 4th October 2009 at 01:35 PM. |
|
|||
Thanks and shame on me for not reading the man once again
In fact I used it to add permissions for CD writer and then just add the permissions for the printer while not even reading the man when it didn't worked ... |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FBSD 7.1 and Canon LBP-660 Printer | Calderon | FreeBSD General | 8 | 4th May 2009 07:04 AM |
Printer setup question | JMJ_coder | NetBSD General | 12 | 6th November 2008 12:04 AM |
sendmail dont boot | dejabu18 | FreeBSD Ports and Packages | 0 | 8th October 2008 02:07 PM |
IP Printer Setup | kjemison | FreeBSD General | 4 | 2nd June 2008 02:35 PM |
Cups + USB-Printer | nihonto | OpenBSD Packages and Ports | 3 | 21st May 2008 07:49 PM |