Bug#709343: gmt-coast-low: installs files with bogus owner+group
Hamish
hamish_b at yahoo.com
Mon Jun 3 21:49:56 UTC 2013
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
More information about the Pkg-grass-devel
mailing list