emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Harris <bill_harris@facilitatedsystems.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: File-level execute permissions?
Date: Fri, 24 Sep 2010 06:11:39 -0700	[thread overview]
Message-ID: <87zkv74778.fsf@moenchweiler.bach> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I understand at least the obvious risks in executing source code blocks
inside an unknown org file, but, when I created the org file myself, it
would be nice to be able to export the file without confirming execution
20+ times.  

Is there a header element I can set that asks one time for the entire
file (or session, perhaps) for execute permission?  I think that would
be safer than blindly turning on permission, for I'd at least get one
opportunity to abort exporting if I was surprised by the existence of
src blocks.

Thanks,

Bill
- -- 
Bill Harris                  http://makingsense.facilitatedsystems.com/
Facilitated Systems                              Everett, WA 98208 USA
http://www.facilitatedsystems.com/               phone: +1 425 374-1845
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkyco4sACgkQ3J3HaQTDvd/80wCfQgv/OSZ7XbH6U2c3F9TbRiMw
G4UAnRSDTxpprkuBhpBRukq9+Qxj3Mmm
=lmZG
-----END PGP SIGNATURE-----

             reply	other threads:[~2010-09-24 13:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 13:11 Bill Harris [this message]
2010-09-25  5:40 ` File-level execute permissions? Noorul Islam
2010-09-25 23:29   ` Bill Harris
2010-09-27 13:46     ` Eric Schulte
2010-09-28  1:08       ` Bill Harris
2010-09-28 17:40         ` Eric Schulte
2010-09-29  2:36           ` Bill Harris

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87zkv74778.fsf@moenchweiler.bach \
    --to=bill_harris@facilitatedsystems.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).