[GRASS5] Makefile problem - Re: [GRASS-announce] GRASS 6.0.2RC3 released

Markus Neteler neteler at itc.it
Tue Jan 3 08:45:48 EST 2006


On Tue, Jan 03, 2006 at 02:20:22PM +0100, Markus Neteler wrote:
> GRASS 6.0.2RC3 released
...
>     * bugfix for 'builddemolocation target' in Makefile
>       when building as root (RPMs etc)

Unfortunately I still have the following problem:

[root at bild-mandriva2006 dist.i686-pc-linux-gnu]# ls -l dist.i686-pc-linux-gnu/
insgesamt 40
drwxr-sr-x   3 1338  204 4096 Jan  3 14:21 demolocation/
drwxr-xr-x   3 root root 4096 Jan  3 14:22 docs/
drwxr-xr-x   4 root root 4096 Jan  3 14:22 bwidget/
drwxr-xr-x   2 root root 4096 Jan  3 14:22 fonts/
[...]

Although 'tar' is used in the 'builddemolocation' target in the
main Makefile, the owner is still preserved (1338 above).
It must be the owner compiling GRASS (here, root), otherwise the
virtual session to generate the HTML manuals fails.

Any ideas?

Should 
 id -un
be used to make a chown of demolocation/ after copying it?

Markus




More information about the grass-dev mailing list