<p></p>
<pre><code>root@kam01:/home/henning# ls -ld /var/run/kamailio
ls: cannot access '/var/run/kamailio': No such file or directory

root@kam01:/home/henning# ls -l /var/run/kamailio
ls: cannot access '/var/run/kamailio': No such file or directory
</code></pre>
<p>Looks as not exist tmpfiles configuration file. I will make review of such file packaging.</p>
<p>About config options</p>
<pre><code>modparam("jsonrpcs", "dgram_user", "www-data")
modparam("jsonrpcs", "dgram_group", "root")
</code></pre>
<p>As now the <code>kamailio</code> main process started as a regular user, then the process does not have the capability to change process user and group.<br>
Extra capabilities may be added process back. Additional info <a href="https://manpages.debian.org/unstable/manpages/capabilities.7.en.html" rel="nofollow">https://manpages.debian.org/unstable/manpages/capabilities.7.en.html</a></p>
<p>Why you want to create Unix socket with owner other than default?<br>
Are you manage Kamailio via web server like <code>nginx</code>, <code>apache</code>?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2391#issuecomment-653881421">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMLQETDFKPOJDC4WJDR2BVF3ANCNFSM4OQZWM4A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJD2HREXALQLFBTNO3R2BVF3A5CNFSM4OQZWM4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE34XATI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2391#issuecomment-653881421",
"url": "https://github.com/kamailio/kamailio/issues/2391#issuecomment-653881421",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>