[GRASS-dev] file permissions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
After compilation, I'm getting wrong files permissions:
- -rw-r----- 1 root root 613 2006-08-04 19:32
/usr/local/grass-6.1.0beta1/etc/grass_write_ascii.style
and other files in:
/usr/local/grass-6.1.0beta1/bwidget/lang/*
My fault, or Makefile's?
Very easy to fix, but a bit annoying.
All the best.
pc
- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE04dv/NedwLUzIr4RAg/hAKCws7Q8mu84xvVDlpfmKTA253kpggCfe/GU
bwdEjofZjuKAKYwkzXr2AhA=
=bLlM
-----END PGP SIGNATURE-----

Paolo Cavallini wrote:

After compilation, I'm getting wrong files permissions:
- -rw-r----- 1 root root 613 2006-08-04 19:32
/usr/local/grass-6.1.0beta1/etc/grass_write_ascii.style
and other files in:
/usr/local/grass-6.1.0beta1/bwidget/lang/*
My fault, or Makefile's?

A lot of Makefiles do bulk copying using "tar c | tar x", which will
preserve the permissions of the original files. The easiest solution
is to run "chmod -R go+rX" on the build directory.

The only long-term solution is to stop using "tar" in the Makefiles,
but to use $(INSTALL) and $(INSTALL_DATA) instead.

--
Glynn Clements <glynn@gclements.plus.com>