|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56016 file permissions in tarball break install
Submitted: 2004-03-26 06:33 UTC Modified: 2006-02-27 07:21 UTC
From: jon at pixelmajik dot com Assigned:
Status: No Feedback Package: apd (PECL)
PHP Version: Irrelevant OS: Linux
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:
Bug Type:
From: jon at pixelmajik dot com
New email:
PHP Version: OS:


 [2004-03-26 06:33 UTC] jon at pixelmajik dot com
The file permissions in the apd-0.4p2 tarball are such that most of the files in the build directory lack the user-write bit.  As phpize tries to write to some of these files, it is not possible to compile/install the package without root privileges, even for a user-space install of PHP.

Reproduce code:
pear install apd-0.4p2.tgz 


tar -xvzf apd-0.4p2.tgz
cd apd-0.4p2

Expected result:
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010

(obviously version numbers may be different)

Actual result:
cp: cannot create regular file `/path/to/apd-0.4p2/build/mkdep.awk': Permission denied
cp: cannot create regular file `/path/to/apd-0.4p2/build/shtool': Permission denied
/path/to/phpize: /path/to/apd-0.4p2/build/shtool:Error:: No such file or directory


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 09:41 UTC]
Please try the latest package version and report back if you're still experiencing this issue.
 [2006-02-27 07:21 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 11:01:30 2024 UTC