My immediate reaction on reading this is that setting the mode to 0777
is wrong  %99.999 of the time.  777 is not just readable by everyone,
it's also writable by everyone.

CC

On Wed, Oct 13, 2010 at 3:42 AM, Lopez, Abel <abelo...@tribune.com> wrote:
> Hello all,
>
> The bugfix for 559092 fixes solaris2mpm, however, the backend installer pm.py 
> is still looking for the old installer script (install_cluster).
> Also, Solaris patch install tries to read a file "checkinstall" as nobody, 
> which fails because tempfile.mkdtemp makes tdir very restrictive.
>
>
> My patch looks like this:
>
> diff pm.py pm.py.old
> 48d47
> <       os.chmod(tdir, 0777)
> 99c98
> <                 cmd =  "%s/installcluster --s10cluster" % pkgdir
> ---
>>                 cmd =  "%s/install_cluster -q" % pkgdir
>
>
> I make tdir readable by everyone, which includes nobody's permissions, and 
> fix installer script, which grabs a passcode out of the README (s10cluster)
>
> _______________________________________________
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>



-- 
RHCE#805007969328369

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to