[GRASS5] GRASS make system oddities
Markus Neteler
neteler at itc.it
Thu Mar 16 15:27:04 EST 2006
On Thu, Mar 16, 2006 at 03:14:40PM +0000, Glynn Clements wrote:
...
> "make install" simply copies the staging directory to the final
> location (e.g. /usr/local/grass-6.1.cvs) using a pair of tar commands.
> When run as root, the default behaviour of "tar x ..." is to preserve
> the owner and permissions on the extracted files.
>
> The GNU tar program has the --no-same-owner (-o) option which inhibits
> this behaviour; extracted files will be owned by the user running tar
> (i.e. root; for non-root users, files will always be owned by the user
> running tar). However, I don't know if this option is portable to
> other tar programs. Hence it isn't used at present.
Indeed, it is used in the main Makefile:
2006-01-04 17:37 glynn
* Make
Add -o switch (don't preserve owner) to tar when extracting
demolocation
Seems to work well.
Markus
More information about the grass-dev
mailing list