php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73465 Extension files have 0755 permission
Submitted: 2016-11-05 15:49 UTC Modified: 2016-11-08 13:49 UTC
From: viktor at szepe dot net Assigned:
Status: Closed Package: PECL (PECL)
PHP Version: 7.0.12 OS: Debian amd64
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: viktor at szepe dot net
New email:
PHP Version: OS:

 

 [2016-11-05 15:49 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-08 05:53 UTC] remi@php.net
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)
 [2016-11-08 13:49 UTC] viktor at szepe dot net
-Status: Open +Status: Closed
 [2016-11-08 13:49 UTC] viktor at szepe dot net
Thank you for letting me know that.
I always use Debian.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC