From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: [babel] After Tangle Change File Permission Date: Wed, 09 Feb 2011 09:16:52 +0000 Message-ID: <4D525B84.9060206@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44918 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn6An-0007Ev-6h for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 04:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn6Al-0006p9-RP for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 04:17:16 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:58079 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn6Al-0006mI-N8 for emacs-orgmode@gnu.org; Wed, 09 Feb 2011 04:17:15 -0500 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id D8E9B15A033 for ; Wed, 9 Feb 2011 09:16:53 +0000 (UTC) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1NtKl8+FHH-K for ; Wed, 9 Feb 2011 09:16:53 +0000 (UTC) Received: from [192.168.0.133] (unknown [217.146.125.41]) (Authenticated sender: ian@manor-farm.org) by li40-130.members.linode.com (Postfix) with ESMTPSA id A4C4AA06A for ; Wed, 9 Feb 2011 09:16:53 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List I am starting to use babel to maintain my collection of shell scripts. I want to automate the process as much as possible, so I would like to be able to set the execute bit on my tangled .sh scripts after the tangle process. I see that there is an after-tangle hook. Can anyone give me some hints as to how I might use this to execute a chmod *.sh on the directory containing my tangles shell scripts. Ian.