[csw-maintainers] GAR: building a package from loose files, with checksumming
Maciej (Matchek) Blizinski
maciej at opencsw.org
Tue Oct 13 14:58:20 CEST 2009
Thanks Dago! Your example works.
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?
Maciej
More information about the maintainers
mailing list