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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 00:01:29 2024 UTC