Bug #73465 [Opn]: Extension files have 0755 permission
| From: | remi@php.net | Date: | Tue, 08 Nov 2016 05:53:48 +0000 |
| Subject: | Bug #73465 [Opn]: Extension files have 0755 permission | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-14132@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73465&edit=1
ID: 73465
Updated by: remi@php.net
Reported by: viktor at szepe dot net
Summary: Extension files have 0755 permission
Status: Open
Type: Bug
Package: PECL
Operating System: Debian amd64
PHP Version: 7.0.12
Block user comment: N
Private report: N
New Comment:
Some distribution use 755 as default mode for libraries (at least RPM distro).
Using 644 will break build system for such downstream (strip + debuginfo extraction)
Previous Comments:
------------------------------------------------------------------------
[2016-11-05 15:49:10] viktor at szepe dot net
Description:
------------
.so files installed by phpize/configure/make in /usr/lib/php*/*/ have the execution bit enabled.
Please use 0644 on platforms with POSIX permissions.
This is the work-around:
make "INSTALL=$(pwd)/build/shtool install -c --mode=0644" install
Test script:
---------------
phpize
./configure
make
make install
ls -l /usr/lib/php5/20131226/
Expected result:
----------------
Please use 0644 on platforms with POSIX permissions.
Actual result:
--------------
.so files installed by phpize/configure/make in /usr/lib/php*/*/ have the execution bit enabled.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73465&edit=1