diff options
Diffstat (limited to 'telem.lua')
-rwxr-xr-x | telem.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -173,9 +173,11 @@ function do_board() -- Create directory local board_dir = path.join(_BBS_ROOT, "boards", board) lfs.mkdir(board_dir) + os.execute("chmod og+rx " .. board_dir) -- Write topic file local topic_file = path.join(board_dir, "topic") file.write(topic_file, desc) + os.execute("chmod og+r " .. topic_file) -- Update representation of BBS update_boards() -- Done! @@ -288,6 +290,7 @@ function do_new() if not ret then print(str) end + os.execute("chmod og+r " .. newpath) -- Done! print("Post submitted.") end @@ -348,6 +351,7 @@ function do_type_reply() if not ret then print(str) end + os.execute("chmod og+r " .. newpath) current_thread_posts = get_posts(current_thread) current_post_index = #current_thread_posts do_type_show_post() |