[OpenSIPS-Users] opensips_head bug in Makefile

Sergio Gutierrez saguti at gmail.com
Mon Nov 3 17:18:05 CET 2008


Hello Helmut.

You are right; I submitted that patch onto Makefile; i will backport.

Thanks and regards for the report.

Sergio Gutierrez

On Mon, Nov 3, 2008 at 10:02 AM, Helmut Kuper <helmut.kuper at ewetel.de>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
>
> I downloaded and compiled opensips head today. During installing I got a
> permission denied:
>
> sed -e
>
> "s#/usr/.*lib/opensips/modules/#/opt/app/voip/location/lib64/opensips/modules/#g"
> \
>                        < etc/opensips.cfg >
> /opt/app/voip/location/etc/opensips/opensips.cfg.sample0
> /bin/sh: /opt/app/voip/location/etc/opensips/opensips.cfg.sample0:
> Permission denied
> make: *** [install-cfg] Error 1
>
>
> I found that in opensips 1.4 Makefiles the  file persissions were set to
>  644
>
> chmod 644 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
>
>
>
> In opensips 1.5 Makefile around line 471 it is set to 500 ...
>
> chmod 500 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
> chmod 500 $(cfg-prefix)/$(cfg-dir)
>
>
> 5 means: read and execution, but not write access for owner.
>
> I changed that two lines to this:
>
> chmod 644 $(cfg-prefix)/$(cfg-dir)$(NAME).cfg.sample
> #chmod 500 $(cfg-prefix)/$(cfg-dir)
>
> Then "make PREFIX=... install" works.
>
>
>
> regards
> Helmut
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkPEpQACgkQ4tZeNddg3dxDqgCfTdHK/GIrp6aE2wGuRgsa7x+V
> oGYAoKTvA4uSRZB2b/k9eLPQP8nPZ+xh
> =Ibt9
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081103/19cf3159/attachment.htm 


More information about the Users mailing list