php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jon at pixelmajik dot com
New email:
PHP Version: OS:

 

 [2004-03-26 06:33 UTC] jon at pixelmajik dot com
Description:
------------
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 

or

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


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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 09:41 UTC] mike@php.net
Please try the latest package version and report back if you're still experiencing this issue.
 [2006-02-27 07:21 UTC] mike@php.net
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: Sat Apr 20 00:01:27 2024 UTC