Re: Bug in pear ? Files world writable after install!
| From: | Stig S. Bakken | Date: | Tue, 30 Jul 2002 20:45:31 +0000 |
| Subject: | Re: Bug in pear ? Files world writable after install! | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2003@lists.php.net to get a copy of this message | ||
On Tue, 30 Jul 2002, Blues wrote:
> On 30 Jul 2002, Arne Bernin wrote:
> > i am a bit confused after i found out, that after Installing a package
> > with pear (0.91-dev), the corresponding file under /usr/share/pear are
> > world writable
> >
> > morannon:~# ls /usr/share/pear/Auth/ -ls
> > total 28
> > 20 -rw-rw-rw- 1 root root 19238 Jul 30 11:53 Auth.php
> > 4 drwxr-xr-x 2 root root 4096 Jul 30 11:53 Container
> > 4 -rw-rw-rw- 1 root root 2731 Jul 30 11:53 Container.php
> >
> > in my opinion this is a bug.
> > I use php 4.1.2 on a debian woody system.
>
> This is _big_ bug.
> That shouldn't happened...
>
> Before I started to make rpms with pear - I installed had installed it
> with installer. I.e. documentation to Auth were put in root
> directory in /Auth/
Is someone else seeing this? Doesn't happen on my box (RH 7.1). What
does "pear config-show" display? Here's mine:
Configuration:
==============
+----------------------+-----------------+-----------------------+
| PEAR executables | bin_dir | /usr/bin |
| directory | | |
| PEAR documentation | doc_dir | /usr/share/pear/docs |
| directory | | |
| PHP extension | ext_dir | /usr/lib/php/20010901 |
| directory | | |
| PEAR directory | php_dir | /usr/share/pear |
| PEAR Installer cache | cache_dir | /tmp/pear/cache |
| directory | | |
| PEAR data directory | data_dir | /usr/share/pear/data |
| PEAR test directory | test_dir | /usr/share/pear/tests |
| Cache TimeToLive | cache_ttl | <not set> |
| Preferred Package | preferred_state | stable |
| State | | |
| Unix file mask | umask | 22 |
| Debug Log Level | verbose | 1 |
| HTTP Proxy Server | http_proxy | <not set> |
| Address | | |
| PEAR server | master_server | pear.php.net |
| PEAR password (for | password | <not set> |
| maintainers) | | |
| PEAR username (for | username | <not set> |
| maintainers) | | |
+----------------------+-----------------+-----------------------+
- Stig