[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: write-file could carry permissions
From: |
Thien-Thi Nguyen |
Subject: |
Re: write-file could carry permissions |
Date: |
13 May 2003 00:39:27 -0400 |
Richard Stallman <address@hidden> 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