[pca] pca buglet?

Glenn Satchell glenn.satchell at uniq.com.au
Mon May 23 13:51:06 CEST 2011


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