* libltdl/ltdl.c (dyld): Remove some debug printf's, fix a bug.
[libtool.git] / mail / perms
blob007342d566d9ccfe2bce1d407120a2dae0df2d53
1 From nobody Wed Oct 14 17:00:26 1998
2 X-From-Line: gord@gnu.org Wed Sep 16 02:36:19 1998
3 Return-Path: <gord@gnu.org>
4 Delivered-To: gord@trick.fig.org
5 Received: (qmail 16983 invoked from network); 16 Sep 1998 02:36:18 -0000
6 Received: from gen2-93ip34.cadvision.com (HELO bambam.m-tech.ab.ca) (209.91.93.34)
7   by cs366707-a.cgmo1.ab.wave.home.com with SMTP; 16 Sep 1998 02:36:18 -0000
8 Received: from mescaline.gnu.org (gateway [10.0.0.1]) by bambam.m-tech.ab.ca (8.8.5/8.6.9) with ESMTP id UAA21823 for <gord@m-tech.ab.ca>; Tue, 15 Sep 1998 20:33:36 -0600
9 Received: from creche.cygnus.com (2Cust11.tnt22.dfw5.da.uu.net [208.254.195.11]) by mescaline.gnu.org (8.8.5/8.6.12GNU) with ESMTP id WAA25991 for <bug-libtool@gnu.org>; Tue, 15 Sep 1998 22:34:08 -0400
10 Received: (from tromey@localhost) by creche.cygnus.com (8.7.6/8.7.3) id UAA02812; Tue, 15 Sep 1998 20:29:44 -0600
11 Sender: tromey@creche.cygnus.com
12 To: Libtool Bugs <bug-libtool@gnu.org>
13 Subject: [pacman@cqc.com] permission problems on things installed by automake
14 X-Zippy:  Did you move a lot of KOREAN STEAK KNIVES this trip, Dingy?
15 X-Attribution:  Tom
16 Reply-To: tromey@cygnus.com
17 From: Tom Tromey <tromey@cygnus.com>
18 Date: 15 Sep 1998 20:29:42 -0600
19 Message-ID: <m1yark7pt5.fsf@creche.cygnus.com>
20 X-Mailer: Red Gnus v0.34/Emacs 19.34
21 Xref: trick.fig.org libtool:1609
22 Lines: 28
23 X-Gnus-Article-Number: 1   Mon Nov  2 17:19:58 1998
25 The second paragraph applies to libtool.  I was recently asked this
26 same question by the Gtk developers as well.  I don't know the answer;
27 automake just follows you guys where libtool is concerned.
29 Tom
30 ------- Start of forwarded message -------
31 From: pacman@cqc.com
32 Message-ID: <19980909050926.23045.qmail@defiant.cqc.com>
33 Subject: permission problems on things installed by automake
34 To: automake-bugs@gnu.org
35 Date: Wed, 9 Sep 1998 00:09:26 -0500 (EST)
37 Two separate problems here. The first, I have complained about before, but
38 nobody took any interest in fixing it. mkinstalldirs creates directories with
39 bad permissions. Specifically, it creates directories by just using mkdir and
40 assuming that they the Public Directory Fairy will come along and make them
41 755. This does not happen. Please, stop making unwarranted assumptions about
42 my umask.
44 The second problem is that automake installs LTLIBRARIES by running libtool
45 install -m 644 (also known as $INSTALL_DATA). Shared libraries should really
46 be 755. If you just say "libtool install" without any -m, it will set the
47 right permissions on installed libraries: 644 for .a's and 755 for .so's.
48 -- 
49 Alan Curry
51 ------- End of forwarded message -------
53 From nobody Wed Oct 14 17:00:27 1998
54 X-From-Line: gord@gnu.org Wed Sep 16 03:22:10 1998
55 Return-Path: <gord@gnu.org>
56 Delivered-To: gord@trick.fig.org
57 Received: (qmail 17099 invoked from network); 16 Sep 1998 03:21:53 -0000
58 Received: from gen2-93ip34.cadvision.com (HELO bambam.m-tech.ab.ca) (209.91.93.34)
59   by cs366707-a.cgmo1.ab.wave.home.com with SMTP; 16 Sep 1998 03:21:53 -0000
60 Received: from mescaline.gnu.org (gateway [10.0.0.1]) by bambam.m-tech.ab.ca (8.8.5/8.6.9) with ESMTP id VAA22252 for <gord@m-tech.ab.ca>; Tue, 15 Sep 1998 21:19:11 -0600
61 Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by mescaline.gnu.org (8.8.5/8.6.12GNU) with ESMTP id XAA27401 for <bug-libtool@gnu.org>; Tue, 15 Sep 1998 23:19:47 -0400
62 Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11])
63         by grande.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id AAA21803;
64         Wed, 16 Sep 1998 00:17:29 -0300 (EST)
65 Received: from tiete.dcc.unicamp.br (tiete.dcc.unicamp.br [143.106.7.1])
66         by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with SMTP id AAA10695;
67         Wed, 16 Sep 1998 00:17:30 -0300 (EST)
68 Sender: oliva@tiete.dcc.unicamp.br
69 To: tromey@cygnus.com
70 Cc: Libtool Bugs <bug-libtool@gnu.org>
71 Subject: Re: [pacman@cqc.com] permission problems on things installed by automake
72 References: <m1yark7pt5.fsf@creche.cygnus.com>
73 From: Alexandre Oliva <oliva@dcc.unicamp.br>
74 Date: 16 Sep 1998 00:17:26 +-300
75 In-Reply-To: Tom Tromey's message of "15 Sep 1998 20:29:42 -0600"
76 Message-ID: <or1zpcsq49.fsf@tiete.dcc.unicamp.br>
77 User-Agent: Gnus/5.070024 (Pterodactyl Gnus v0.24) XEmacs/20.4 (Emerald)
78 X-Emacs: 20.4 "Emerald" XEmacs  Lucid with mule
79 MIME-Version: 1.0 (generated by SEMI 1.8.5 - "Nishi-Takaoka")
80 Content-Type: text/plain; charset=US-ASCII
81 Xref: trick.fig.org libtool:1610
82 Lines: 27
83 X-Gnus-Article-Number: 2   Mon Nov  2 17:19:58 1998
85 Tom Tromey <tromey@cygnus.com> writes:
87 > From: pacman@cqc.com
89 > The second problem is that automake installs LTLIBRARIES by running libtool
90 > install -m 644 (also known as $INSTALL_DATA).
92 this is wrong, it was probably just cut&pasted from the rule for
93 LIBRARIES.  libtools knows what is the right default permission to
94 assign to libraries, automake doesn't have to do it.  Unless someone
95 has a good reason to do it.  Maybe automake should define a macro such
96 as INSTALL_LTLIBRARY, empty by default, but that one could override
97 with additional arguments for libtool --mode=install
99 Another alternative, that I don't like very much, is to let libtool
100 modify the modes of libraries: if they must be executable in the final
101 target, it just ensures that the installed .so has the executable bit
102 enabled wherever the read bit is enabled too.
104 What do you think?
106 -- 
107 Alexandre Oliva
108 mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
109 http://www.dcc.unicamp.br/~oliva
110 Universidade Estadual de Campinas, SP, Brasil
112 From nobody Wed Oct 14 17:00:28 1998
113 X-From-Line: otaylor@fresnel.labs.redhat.com Sun Sep 20 22:12:22 1998
114 Return-Path: <otaylor@fresnel.labs.redhat.com>
115 Delivered-To: gord@trick.fig.org
116 Received: (qmail 1616 invoked from network); 20 Sep 1998 22:12:21 -0000
117 Received: from gen2-93ip36.cadvision.com (HELO mail.fig.org) (209.91.93.36)
118   by cs366707-a.cgmo1.ab.wave.home.com with SMTP; 20 Sep 1998 22:12:21 -0000
119 Received: (qmail 9059 invoked by uid 500); 20 Sep 1998 22:09:20 -0000
120 Delivered-To: gord@fig.org
121 Received: (qmail 9056 invoked from network); 20 Sep 1998 22:09:19 -0000
122 Received: from fresnel.labs.redhat.com (207.175.45.22)
123   by www.fig.org with SMTP; 20 Sep 1998 22:09:19 -0000
124 Received: (from otaylor@localhost)
125         by fresnel.labs.redhat.com (8.8.7/8.8.7) id SAA25598;
126         Sun, 20 Sep 1998 18:18:38 -0400
127 To: gord@fig.org
128 Subject: Automake and ltlibraries installation
129 From: Owen Taylor <otaylor@redhat.com>
130 Date: 20 Sep 1998 18:18:38 -0400
131 Message-ID: <ybeww6yqvgh.fsf@fresnel.labs.redhat.com>
132 X-Mailer: Gnus v5.5/Emacs 20.2
133 Xref: trick.fig.org libtool:1621
134 Lines: 19
135 X-Gnus-Article-Number: 3   Mon Nov  2 17:19:58 1998
138 Recently, we've been using a modified version of libtool that enables
139 shared library dependencies on Linux. With that change, it becomes
140 desirable to be able to run ldd on the installed libraries.
142 However, the libraries are installed without executable permissions.
144 The relevant changelog entry seems to be:
146 Tue Nov 25 14:20:42 1997  Tom Tromey  <tromey@cygnus.com>
148         * ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM.  From Gord
149         Matzigkeit.
151 Do you happen to remember why this change was made?
153 Thanks,
154                                         Owen