From 77738c24872eb03d29b18e5f1fa54718d14c4b47 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sun, 9 Dec 2018 13:49:51 +0000 Subject: Yet more permission fiddling. --- telem.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telem.lua b/telem.lua index c700043..0bd6cb3 100755 --- a/telem.lua +++ b/telem.lua @@ -286,8 +286,8 @@ function do_new() lfs.mkdir(thread_path) os.execute("chmod og+rwx " .. thread_path) -- Write subject file - file.write(path.join(thread_path, "subject"), - subject) + file.write(path.join(thread_path, "subject"), subject) + os.execute("chmod og+r " .. path.join(thread_path, "subject")) -- Move post file local post_file = thread_dir -- first post and thread directory names are the same! local newpath = path.join(thread_path, post_file) -- cgit v1.2.3