You are not logged in.

#1 2004-08-29 00:47:40

mandato10
Member
Registered: 2004-08-29
Posts: 5

printer permissions change back to default automatically

hi, i've installed inkblot in order to monitor the ink level on my printer.  In order to use this program as a normal user, I have to have read/write permissions on my printer (/dev/usb/lp0).  The default permissions are

crw-rw----  1 root root 180, 0 Dec 31  1969 /dev/usb/lp0

and i change it to

crw-rw-rw-  1 root root 180, 0 Dec 31  1969 /dev/usb/lp0

However, once I turn off my printer, the permissions revert back to default ones automatically.  Is there a way to prevent this from happening?  So far, I have to change it manually every time I want to use inkblot...and change it again when the printer turns itself off (energy-saving feature)...very annoying...

Thank you.

Offline

#2 2004-08-29 02:55:59

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: printer permissions change back to default automatically

are you using devfs or udev?
each requires you to edit a config file to create default permissions for devices.

if you aren't sure, then you're using devfs, as it is installed by default.

search the wiki for devfs (or udev, if that's the case) and read the article. it will tell you how to manage device permissions.

Offline

Board footer

Powered by FluxBB