[pca] pca buglet?
Jeff Earickson
jaearick at colby.edu
Mon May 23 14:46:21 CEST 2011
Glenn,
Thanks, the addition of:
xrefown=1
to my .pca file did the trick. patchdiag.xref now lands as chmod 644.
On Mon, May 23, 2011 at 7:51 AM, Glenn Satchell
<glenn.satchell at uniq.com.au> wrote:
> On 05/22/11 23:33, Rajiv Gunja wrote:
>>
>> Not sure about that. I download it on both Solaris and Linux & on either
>> one my files are always 644. But ofcourse, I download the files to my
>> home. -GGR
>>
>
> Downloading it to your home dir is a special case:
>
> -X, --xrefdir=DIR
> Set location of the cross-reference file. The default is
> /var/tmp (in proxy mode, the default is the current
> directory). By default, patchdiag.xref is writable for
> all users. If the xrefown option is set, or the xrefdir
> option contains /home, the cross reference file will be
> writable by the current user only.
>
> and the relevant place in the source:
>
> if ($o{xrefown} || ($o{xrefdir} =~ /\/home\//)) {
> chmod 0644, $input{xref};
> } else {
> chmod 0666, $input{xref};
> }
>
> --
> regards,
> -glenn
>
>
More information about the pca
mailing list