From: Urs Thuermann <urs@isnogud.escape.de>
Subject: permissions on created files
Date: 18 Sep 2006 19:30:54 +0200 [thread overview]
Message-ID: <m2mz8xdqup.fsf@janus.isnogud.escape.de> (raw)
When emacs creates a new file, it does so using mode 0666 modified by
the process umask, i.e. newly created files don't have the executable
bit set. I have search the Emacs docs (with C-h i) and have also
tried C-h a to find a way to change this. I'd like to change emacs'
behavior so that it uses 0777 instead 0666 when the file begins with
the two characters #!. Is that possible? I couldn't find anything
like that.
urs
next reply other threads:[~2006-09-18 17:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 17:30 Urs Thuermann [this message]
2006-09-19 2:01 ` permissions on created files Glenn Morris
2006-09-19 3:11 ` Tim X
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2mz8xdqup.fsf@janus.isnogud.escape.de \
--to=urs@isnogud.escape.de \
/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.
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).