2009/11/3 Holger Bruns <holger.br...@gmx.net>:
> in trouble with it. Secondly, it appears to be necessary to use the fpc
> compiler as "root", not simply as a user, I guess.

You need permissions to access any files on linux.  Device nodes are
files, too.  This is what it looks like on debian:

h...@technical09:~/source/linux/linux-2.6$ ls -l /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 2009-11-03 13:27 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 2009-11-03 13:27 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 2009-11-03 13:27 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 2009-11-03 13:27 /dev/ttyS3

This means that I need to be part of the dialout group (or root) to be
able to read/write to these files.  You can see the group information
in /etc/group.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to