Anyone using php_serial.class.php with USB serial port?
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Apr 7 13:15:11 UTC 2008
On Sat, Apr 05, 2008 at 03:53:04PM -0400, Giles Orr wrote:
> 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.
Adding a user to a group is permanent. Messing with permissions on /dev
files often aren't (when udev is involved as it usually is these days).
apache would have to be restarted after changing the group settings.
Debian uses www-data as user for apache. Other distributions use other
names for it.
ps auxww|grep apache, should show what user and group it runs as.
--
Len Sorensen
--
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