### Description
I testing package `master` and `5.2` branch int RPM. but cannot.
Build and packaging logs is
[
here](https://build.opensuse.org/build/home:sergey-safarov:v5.2.x-rpms/Cent…
Is happens because `make install-share` goal is try create folder `/usr/share/kamailio/`
instead of
`/home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64/usr/share/kamailio/`.
### Troubleshooting
#### Reproduction
please look above
#### Debugging Data
NA.
#### Log Messages
```
[build@node0 kamailio-5.2.0]$ pwd
/home/build/rpmbuild/BUILD/kamailio-5.2.0
[build@node0 kamailio-5.2.0]$ make -C src install-share
make: Entering directory `/home/build/rpmbuild/BUILD/kamailio-5.2.0/src'
mkdir -p /usr/share/kamailio/
mkdir: cannot create directory ‘/usr/share/kamailio/’: Permission denied
make: *** [/usr/share/kamailio/] Error 1
make: Leaving directory `/home/build/rpmbuild/BUILD/kamailio-5.2.0/src'
[build@node0 kamailio-5.2.0]$
```
#### SIP Traffic
NA
### Possible Solutions
Not known
### Additional Information
tested current master and 5.2 branch
* **Operating System**:
CentOS 7
```
Linux node0.docker.rcsnet.ru 4.14.13-300.fc27.x86_64 #1 SMP Thu Jan 11 04:00:01 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1709