D&C GLug - Home Page

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

Re: [LUG] Permissions problem

 

Benjamin M. A'Lee wrote:
> On Wed, Apr 14, 2010 at 08:56:13AM +0100, NW wrote:
>> I have been looking at the possibility of using my one printer for all
>> three computers at home, see other thread. Now I don't know if I have
>> done anything silly but .....
>>
>> Yesterday I couldn't print anything. Research tracked down the problem
>> to the permissions on dev/lp0. They were  rw-rw---- with user = root and
>> group = lp. So others had no permissions.
>>
>> I used chmod (with sudo) to change the permissions to rw-rw-rw- and I
>> was then able to print. Fine.
>>
>> Today same problem. The permissions had reverted to rw-rw----. I have
>> changed them again. Now I don't want to have to keep running chmod every
>> session, that is just silly and anyway it has only just started to happen.
>>
>> Can anyone help here please? For a start I don't understand why the new
>> set of permissions changed back. Shouldn't my change remain fixed?
> 
> Other people have pointed out the correct solution (adding users to
> the lp group). The reason it changes back, for the record, is that
> device files don't actually exist on disk - they're created at boot
> time by udev. It's possible to configure udev to create them with
> different permissions - but there's not much point.
> 
> 
Well, so far all else has failed, so can anyone tell me how to configure
udev so that I get the right permissions on lp0? This seems to be my
only option. I just can't see that I have made any changes to how
printing works for me, yet it suddenly went wrong!!

thanks

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