Thread: pgadmin3.hhp.cached

pgadmin3.hhp.cached

From
Richard PALO
Date:
I needed to undo the following workaround put in Makefile.am:
>  # We need to ensure the help cache is world writeable
>  install-data-hook:
> -    touch $(help_dir)/docs/en_US/pgadmin3.hhp.cached
> -    chmod 0666 $(help_dir)/docs/en_US/pgadmin3.hhp.cached
> +#    touch $(help_dir)/docs/en_US/pgadmin3.hhp.cached
> +#    chmod 0666 $(help_dir)/docs/en_US/pgadmin3.hhp.cached

Is there not a better solution?

Re: pgadmin3.hhp.cached

From
Dave Page
Date:
On Fri, Jul 19, 2013 at 10:29 PM, Richard PALO <richard.palo@baou.fr> wrote:
> I needed to undo the following workaround put in Makefile.am:
>>
>>  # We need to ensure the help cache is world writeable
>>  install-data-hook:
>> -       touch $(help_dir)/docs/en_US/pgadmin3.hhp.cached
>> -       chmod 0666 $(help_dir)/docs/en_US/pgadmin3.hhp.cached
>> +#      touch $(help_dir)/docs/en_US/pgadmin3.hhp.cached
>> +#      chmod 0666 $(help_dir)/docs/en_US/pgadmin3.hhp.cached
>
>
> Is there not a better solution?

Why did you need to undo it? It's not really a workaround - that file
needs to be world writeable otherwise users that can't write to it
will get an error when they open the helpfile (that's a wxWidgets
requirement).

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company