D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Permissions problem (Solved)

 

Simon Waters wrote:
> NW wrote:
>> I have searched udev files and cannot find where the permissions for lp0
>> are set up. Can anyone help please?
> 
> I gave a possible udev rule to use in my last post (although it looks
> like possibly my ">>" got misinterpreted by my email client.
> 
> The permissions for lp0 were "0660" which is the default for udev, so
> they are probably not explicitly set anywhere. A new rule in a new rule
> file is probably best as that way it shouldn't be overwritten (or
> interfere with other udev updates) in future.
> 
> Although I'd be tempted to upgrade.
> 
> I don't see the point in running versions of Ubuntu that are more out of
> date than Debian Lenny. The only advantage I see to Ubuntu over Debian
> is it is more up to date than Debian, if you run old versions you have
> all the disadvantages of Ubuntu (i.e. more bugs) and don't even get the
> advantage of more up to date software.
> 
>  Simon
> 
Finally. thanks for your input Simon. You referred me to a help file
which was useful for understanding how udev works. I have certainly
learnt something through all this.

I eventually recognised the correct line in /etc/udev/permissions.rules
to which to add the mode rule (MODE="0666"). I made this small change in
that file and logged out and then in again. Now /dev/lp0 has the
permissions that I need and the printer is working properly. Great.

Thanks to everyone who helped,

Neil

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html