Vassilis K ha scritto:
> It is a typogriphic error.
>
> I wrote it as "/dev/lp1"
>   
Every file in unix has permissions you can change with chmod:

    chmod a+w /dev/lp1

(ran as user root). It will give everyone permission to use /dev/lp1.

Or, you can check/change only the permission for the group. In my system:

    crw-rw---- 1 root lp 6, 0 26 feb  2005 /dev/lp0
    crw-rw---- 1 root lp 6, 1 26 feb  2005 /dev/lp1
    crw-rw---- 1 root lp 6, 2 26 feb  2005 /dev/lp2

show that a user belonging to group "lp" can write. Add yourself or your 
users to that group:
     adduser vassilis lp
and vassilis will be able to write to /dev/lpX.

If the setup of your /dev/lpX is different, you can change its group 
with chgrp.

Linux is good because _you_ are in control with your beloved computer...

Regards,
Doriano

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to