<div dir="ltr"><div>I am not using apparmor. Not intentionally, anyway. I see the libapparmor1 package is installed but that's about it.<br></div><div><br><font size="1" face="monospace"># echo FOOBAR >>/tmp/opensips-class4_fifo<br>bash: /tmp/opensips-class4_fifo: Permission denied</font><br><br>Huh. Why would root not be able to write to a file with 0666 permissions? That's weird to me.<br><br>Looking back now I'm not sure where I found the "url" type. If I come across it again, I'll let you know. "http" is working great!<br><br><br>- Jeff</div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 24, 2020 at 10:28 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 24.09.2020 17:15, Jeff Pyle wrote:<br>
</div>
<blockquote type="cite">
<div>If I try fifo, I get a permissions problem...<br>
</div>
<div><font size="1" face="monospace"><br>
</font></div>
<div><font size="1" face="monospace">PermissionError: [Errno 13]
Permission denied: '/tmp/opensips-class4_fifo'</font><br>
</div>
<div><br>
</div>
<div>...even though:<br>
</div>
<div><font size="1" face="monospace"><br>
</font></div>
<div><font size="1" face="monospace"># ls -lh
/tmp/opensips-class4_fifo</font></div>
<font size="1" face="monospace">prw-rw-rw- 1 opensips opensips 0
Sep 24 10:05 /tmp/opensips-class4_fifo</font></blockquote>
<p><tt>I don't have a big clue on this one, unfortunately, as it
should work given your info. Some hints:</tt></p>
<p><tt>* manually ensure the user you're running opensips-cli with
can write to the FIFO file, even if it's gibberish. Example:</tt></p>
<p><tt> echo FOOBAR >>/tmp/opensips-class4_fifo</tt></p>
<p><tt>* make sure FIFO access isn't blocked by some security layer,
such as apparmor. If you're using apparmor, check the logs.</tt></p>
<p><tt>Cheers,<br>
</tt></p>
<pre cols="72">--
Liviu Chircu
<a href="http://www.twitter.com/liviuchircu" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>