unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3800: [emacs-devel] emacs-23.0.96 make install misbehavior
@ 2009-07-12 18:50 Chong Yidong
  2009-07-13  0:31 ` Glenn Morris
  0 siblings, 1 reply; 8+ messages in thread
From: Chong Yidong @ 2009-07-12 18:50 UTC (permalink / raw)
  To: Nelson H. F. Beebe; +Cc: 3800

> chmod -R a+r \
> 	/usr/local/share/emacs/23.0.96 \
> 	/usr/local/share/emacs/site-lisp \
> 	/usr/local/share/emacs/23.0.96/etc \
> 	/usr/local/share/emacs/23.0.96/lisp \
> 	/usr/local/share/info
>
> While it is appropriate to run chmod at installation time for a
> package's own files, it is HIGHLY INAPPROPRIATE to run chmod on
> directories and files belonging to other packages.  The directories
>
> 	/usr/local/share/emacs/site-lisp
> 	/usr/local/share/info
>
> need to be removed from the install command chmod processing.

Fair enough.  But the installation process needs to read the contents of
/usr/local/share/emacs/site-lisp and /usr/local/share/info in order to
function properly.

How about doing `u+r' instead of `a+r' for those directories?





^ permalink raw reply	[flat|nested] 8+ messages in thread
* bug#3800: [emacs-devel] emacs-23.0.96 make install misbehavior
@ 2009-07-09 20:12 Nelson H. F. Beebe
  0 siblings, 0 replies; 8+ messages in thread
From: Nelson H. F. Beebe @ 2009-07-09 20:12 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: beebe

I'm doing "make install" for several builds of emacs-23.0.96, and I
just noticed this output (with the GNU default of prefix=/usr/local):

chmod -R a+r \
	/usr/local/share/emacs/23.0.96 \
	/usr/local/share/emacs/site-lisp \
	/usr/local/share/emacs/23.0.96/etc \
	/usr/local/share/emacs/23.0.96/lisp \
	/usr/local/share/info

While it is appropriate to run chmod at installation time for a
package's own files, it is HIGHLY INAPPROPRIATE to run chmod on
directories and files belonging to other packages.  The directories

	/usr/local/share/emacs/site-lisp
	/usr/local/share/info

need to be removed from the install command chmod processing.

Their contents, and file permissions, are not the business of
emacs-x.y.z release installations.  A given site, including ours, may
have local reasons for nondefault permissions in those directories.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-13 19:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-12 18:50 bug#3800: [emacs-devel] emacs-23.0.96 make install misbehavior Chong Yidong
2009-07-13  0:31 ` Glenn Morris
2009-07-13  2:44   ` Chong Yidong
2009-07-13  6:30     ` Glenn Morris
2009-07-13  6:44       ` Glenn Morris
2009-07-13 19:04         ` Nelson H. F. Beebe
2009-07-13 19:03   ` Nelson H. F. Beebe
  -- strict thread matches above, loose matches on Subject: below --
2009-07-09 20:12 Nelson H. F. Beebe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).