"William Suffill" <[EMAIL PROTECTED]> wrote:
> Since openpbx runs as user openpbx it needs permission to use /dev/zap
> I just changed /dev/zap be be owned by openpbx
> chown -R openpbx /dev/zap
> also made sure the chmod for that dir was 755.
> chmod -R 755 /dev/zap
> It did solve that same issue but not sure
> if that is the best answer.
>
A better solution would be to edit udev permissions (in a file called
"/etc/udev/permissions.d/50-udev.permissions" on Gentoo) to add a line
similar to the following:
zap/*:openpbx:openpbx:660
Another way to get the same effect would be to add OWNER, GROUP and MODE
settings to each zaptel device in the udev rules (in a file called
"/etc/udev/rules.d/50-udev.rules" on Gentoo). For example:
KERNEL=="zapctl", NAME="zap/ctl", OWNER="openpbx", GROUP="openpbx",
MODE="0660"
I don't have any Zaptel devices, by the way.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ [EMAIL PROTECTED]
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users