all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@glug.org>
Cc: emacs-devel@gnu.org
Subject: Re: write-file could carry permissions
Date: 13 May 2003 00:39:27 -0400	[thread overview]
Message-ID: <jkllxbtq80.fsf@glug.org> (raw)
In-Reply-To: Richard Stallman's message of "Mon, 12 May 2003 21:47:08 -0400"

Richard Stallman <rms@gnu.org> writes:

   maybe Emacs should always set the executable bit when you edit
   a file in Shell Script mode.  Is there any reason that would be
   bad?

if you write a file in a directory where some cron-driven script
walker sees it, it is better if that file is not executable unless
you explicitly make it so.  (principle of least surprise according
to the sysadmin.)

on the other hand, there's no problem w/ emacs providing a
convenient way to effect this decision (e.g., a write-file hook
subject to y-or-n-p).

thi

  reply	other threads:[~2003-05-13  4:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-11 22:48 write-file could carry permissions Dan Jacobson
2003-05-13  1:47 ` Richard Stallman
2003-05-13  4:39   ` Thien-Thi Nguyen [this message]
2003-05-13 10:28     ` Ehud Karni
2003-05-13  7:13   ` Dan Jacobson
2003-05-13 14:12   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jkllxbtq80.fsf@glug.org \
    --to=ttn@glug.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.