Re: file permissions in XForms distributions

Steve Lamont (spl@szechuan.ucsd.edu)
Mon, 24 Mar 97 14:19:51 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I wonder why the tar files with XForms distributions (at least this is
> true for Solaris and Linux) contain files which are rw------- or
> rwx------. This is so annoying. One un-tars them (at least gnutar
> preserves the permissions), puts to standard places as root and then ...
> nobody but superuser can use them. And it is not easy to change the
> permissions as one has to distinguish between executables and plain
> files.

Are you using

make install

or are you installing by hand? The Makefile I have with my 0.86
distribution does a chmod on all the executables to 0711 and
everything else is chmod-ed to 0644, which should be the Right Thing.

Personally, my pet peeve with the install is that it installs to
/usr/include, /usr/lib, /usr/man, and /usr/bin, which is where I don't
want the files -- I like to keep non-system distribution files in
/usr/local. I have to remember to hand edit mkconfig.h in four places
(yeah, I know -- poor baby). I'd be much handier if there was a

INSTALLTOP=/usr

and then everything else relative to it:

LIB_DIR=$(INSTALLTOP)/lib

[...]

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/