Hi,

it's not in the package itself, it's in the included download
script:
  /usr/sbin/gmt-coastline-download

"""
echo $GET_HIGH && $GET_HIGH && tar xojvf $TMPDIR/GSHHS_high.tar.bz2 -C 
$SHARE_DIR/coast --strip 2 share/coast
echo $GET_FULL && $GET_FULL && tar xojvf $TMPDIR/GSHHS_full.tar.bz2 -C 
$SHARE_DIR/coast --strip 2 share/coast
"""

when tar is run as root it restores the UID,GID that were in the
tarball packager's system.

adding "--no-same-owner" to the tar command might help, but I'm
not sure if that gets the GID too.

the included "-o" flag should do that, but it no longer appears
in the Debian tar man page so maybe it went away? It is listed in
"Compatibility options" with "tar --help". Maybe -o not working
is the real bug there.

(you can see it listed in the FreeBSD man page, 
http://www.freebsd.org/cgi/man.cgi?query=tar)


Hamish

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to