From b5e550d331bc17cec17a0d38786a9d7e851c5042 Mon Sep 17 00:00:00 2001 From: m455 Date: Mon, 11 Mar 2019 21:43:35 -0400 Subject: [PATCH] weird bug --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 845f66b..d502638 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ Now the default directory and todo list file have better default permissions: # Todos - **Really weird bug to solve**: `~/.rodo/todo.txt`'s file permissions change from `rw-------` to `rw-rw-r--` or `rw-rw-rw` after being modified - - For example, run `touch somefile.txt` to create a file + - For example, run `touch somefile.txt` to create a file in your home directory + - Open a Racket REPL while in your home directory - Run the following to set `600` file permissions on the file: ```racket (file-or-directory-permissions "somefile.txt" #o600) @@ -33,6 +34,7 @@ Now the default directory and todo list file have better default permissions: (display-to-file "this is a test" "somefile.txt" #:mode 'text #:exists 'replace) (file-or-directory-permissions "somefile.txt" #o600)) ``` + - Unfortunately the above solution leaves the file readable for a split second, which would be enough for another program to read information in the files - Add color option to `config.rkt` file - Encrypt `todo.txt` file - Add note on `.bash_history` about items being added here before going into the `todo.txt` file