Re: [asterisk-dev] Strange issue with permissions and a third party module

2018-12-11 Thread Hans-Peter Jansen
On Montag, 10. Dezember 2018 13:07:40 Corey Farrell wrote: > If using Fedora / similar systems it could be an SELinux policy issue. > In Fedora /usr/sbin/asterisk is a confined process where python is not. > On Fedora/CentOS SELinux will forbid Asterisk from taking certain > actions even if allow

Re: [asterisk-dev] Strange issue with permissions and a third party module

2018-12-11 Thread Hans-Peter Jansen
On Montag, 10. Dezember 2018 13:53:38 Joshua C. Colp wrote: > On Wed, Dec 5, 2018, at 12:40 PM, Hans-Peter Jansen wrote: > > > > Why does the Asterisk module behaves differently permission-wise? > > How is Asterisk actually run and executed? Is it being run as a systemd > unit, could that be alte

Re: [asterisk-dev] Strange issue with permissions and a third party module

2018-12-10 Thread Corey Farrell
If using Fedora / similar systems it could be an SELinux policy issue.  In Fedora /usr/sbin/asterisk is a confined process where python is not.  On Fedora/CentOS SELinux will forbid Asterisk from taking certain actions even if allowed by the file system permissions set by chmod.  It's possible

Re: [asterisk-dev] Strange issue with permissions and a third party module

2018-12-10 Thread Joshua C. Colp
On Wed, Dec 5, 2018, at 12:40 PM, Hans-Peter Jansen wrote: > Hi *sters, > > looking at a strange issue here. Experimenting with: > > https://github.com/wdoekes/asterisk-chan-dongle > > is all doing fine so far, but locking the device. While not essential, I > would > like to understand,

[asterisk-dev] Strange issue with permissions and a third party module

2018-12-05 Thread Hans-Peter Jansen
Hi *sters, looking at a strange issue here. Experimenting with: https://github.com/wdoekes/asterisk-chan-dongle is all doing fine so far, but locking the device. While not essential, I would like to understand, what's going on (wrong). Since chan-dongle handles serial connections, it