Bug #73465 [Opn->Csd]: Extension files have 0755 permission

From: Date: Tue, 08 Nov 2016 13:49:15 +0000
Subject: Bug #73465 [Opn->Csd]: Extension files have 0755 permission
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-14134@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 User updated by: viktor at szepe dot net Reported by: viktor at szepe dot net Summary: Extension files have 0755 permission -Status: Open +Status: Closed Type: Bug Package: PECL Operating System: Debian amd64 PHP Version: 7.0.12 Block user comment: N Private report: N New Comment: Thank you for letting me know that. I always use Debian. Previous Comments: ------------------------------------------------------------------------ [2016-11-08 05:53:47] 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-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

« previous php.pecl.dev (#14134) next »