Anyone using php_serial.class.php with USB serial port?

Giles Orr gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Apr 5 19:53:04 UTC 2008


On 4/5/08, jim <cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org> wrote:
> > On Debian you would add the www-data user to the group 'dialout' by
> > doing:
> > adduser www-data dialout
> >
> > It is probably a permission issue and nothing else.
> Yes it was a permission thing. Adding www-data to dialout didn't quite
> do it but changing permissions on /dev/USB0 worked. Thanks again!!

Keep in mind that the permissions probably won't hold through a reboot
unless you make other arrangements: "adduser www-data dialout" or
similar is "sticky" (if you'll pardon the use of a word that has other
meanings in a Unix context), whereas the ownership of all /dev/ files
is reset by most (?) distributions at reboot so changes you make by
using "chown" or "chmod" are only good temporarily.

-- 
Giles
http://www.gilesorr.com/
gilesorr-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list