Re: Bug in pear ? Files world writable after install!
| From: | Tomas V.V.Cox | Date: | Wed, 07 Aug 2002 14:14:42 +0000 |
| Subject: | Re: Bug in pear ? Files world writable after install! | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2067@lists.php.net to get a copy of this message | ||
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...
There is a umask config option that allows you to set whatever perms you
want.
> 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/
Yeah, there was a invalid role specified in Auth that was causing that
problem. Now bot the Auth package.xml file and the Installer were fixed
long time ago to avoid this problem.
Tomas V.V.Cox