summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2020-07-08 00:05:39 +0530
committerArun Isaac2020-07-08 00:05:39 +0530
commit64b2350163d95cb0baa311914a6aa246201d4dc4 (patch)
treebf40ed857b08d23ac1cd4e8de9b8aca5c676ac08
parentcf71d9234ca547cab61eed5436cd5a267160a07d (diff)
downloadennum-64b2350163d95cb0baa311914a6aa246201d4dc4.tar.gz
ennum-64b2350163d95cb0baa311914a6aa246201d4dc4.tar.lz
ennum-64b2350163d95cb0baa311914a6aa246201d4dc4.zip
Set new directory permissions to 755.
* ennu.el (ennu-with-temporary-directory): Set new temporary directory permissions to 755.
-rw-r--r--ennu.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/ennu.el b/ennu.el
index 93abe57..ae61f0e 100644
--- a/ennu.el
+++ b/ennu.el
@@ -410,6 +410,7 @@ finally delete the temporary directory. The value returned is the
value of the last form in BODY."
(declare (indent defun))
`(let ((,temporary-directory (make-temp-file "ennu" t)))
+ (chmod ,temporary-directory #o755)
(unwind-protect
(progn ,@body)
(delete-directory ,temporary-directory t))))