Kevin Walsh wrote:
> "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.
>
>   
On Fedora machines the zaptel install creates a file 
/dev/udev/rules.d/zaptel.rules which makes all the device files be owned 
by user asterisk, group asterisk. It doesn't create these user and group 
IDs, though. If you edit the file to make them both openpbx, things work 
better. :-)

Steve

_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users

Reply via email to