[PD] rfcomm and comport device list

IOhannes m zmoelnig zmoelnig at iem.at
Thu Mar 8 11:07:53 CET 2007

gordo wrote:
> hi all,
> btw. stupid newbie question: how can i access /dev/tty without starting
> pd as root?

use the permission system to aquire permissions ;-)

this is: make sure that there is a group that can access the device
(either read/writeable or just readable)
make sure that your user belongs to this group.

% chgrp <ttygroup> /dev/rfcomm1
% chmod g+rw /dev/tty
% adduser <username> <ttygroup>

(you will have to do this as root; and you will have to re-login as user
<username>, in order to make the new group membership have an effect)

the less sophisticated way is to give everybody the needed rights to
access the device. but i don't recommend this (for security reasons)


More information about the Pd-list mailing list