Edit report at https://bugs.php.net/bug.php?id=73465&edit=1

 ID:                 73465
 Updated by:         [email protected]
 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

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to