diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-09 13:49:51 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-09 13:49:51 +0000 |
commit | 77738c24872eb03d29b18e5f1fa54718d14c4b47 (patch) | |
tree | 48251b65c6a68ae837da6fbbaa034c9b54e46368 /telem.lua | |
parent | More chmod fiddling. Current settings are wide open for live testing, will n... (diff) |
Yet more permission fiddling.
Diffstat (limited to '')
-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) |