diff options
-rwxr-xr-x | telem.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |