[csw-maintainers] GAR: building a package from loose files, with checksumming

Dagobert Michelsen dam at opencsw.org
Tue Oct 13 18:03:03 CEST 2009


Hi Maciej,

Am 13.10.2009 um 14:58 schrieb Maciej (Matchek) Blizinski:
> I bumped against another problem: umask setting. My default umask
> setting is 027. I think it influences GAR somehow, take a look at
> this. I have an install directory with the correct permissions:
>
> $ ls -l (...)/loose-files/trunk/work/install-isa-i386/opt/csw/ 
> include/curses.h
> -rwxr-xr-x   1 blizinski eng        41408 Oct 13 13:40
> (...)/loose-files/trunk/work/install-isa-i386/opt/csw/include/curses.h
>
> This is OK: The file is world-readable. Let's take a look at the  
> prototype:
>
> $ cat work/build-global/CSWloosefilesexa.prototype-i386
> f none /opt/csw/include/curses.h 0750 root bin
> i depend=CSWloosefilesexa.depend
> i pkginfo=CSWloosefilesexa.pkginfo
>
> The file isn't world-readable! Are there any intermediate file copying
> steps involved? If so, perhaps "gcp --preserve" could be used to
> prevent umask from affecting the outcome?

The problem was caused by pax applying the umask. I have now
changed this by adding '-p e' (preserve everything) to all
pax invocations on r6854.


Thanks for the report!

   -- Dago



More information about the maintainers mailing list