updated via script

main
m455 2019-03-11 20:52:07 -04:00
parent 71acaf96aa
commit 47b92f6682
1 changed files with 7 additions and 7 deletions

View File

@ -16,13 +16,7 @@ Now the default directory and todo list file have better default permissions:
# Todos # 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 - **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
- So far, the only solution I know of would be to do: - For example, run:
```racket
(begin
(display-to-file "this is a test" "/home/username/.rodo/todo.txt" #:mode 'text #:exists 'replace)
(file-or-directory-permissions "/home/username/.rodo/todo.txt" #o600))
```
- For example, try running:
```racket ```racket
(file-or-directory-permissions "/home/username/.rodo/todo.txt" #o600) (file-or-directory-permissions "/home/username/.rodo/todo.txt" #o600)
``` ```
@ -31,6 +25,12 @@ Now the default directory and todo list file have better default permissions:
```racket ```racket
(display-to-file "this is a test" "/home/username/.rodo/todo.txt" #:mode 'text #:exists 'replace) (display-to-file "this is a test" "/home/username/.rodo/todo.txt" #:mode 'text #:exists 'replace)
``` ```
- So far, the only solution I know of would be to do:
```racket
(begin
(display-to-file "this is a test" "/home/username/.rodo/todo.txt" #:mode 'text #:exists 'replace)
(file-or-directory-permissions "/home/username/.rodo/todo.txt" #o600))
```
- Then check the file permissions again with `ls -l` to see the change - Then check the file permissions again with `ls -l` to see the change
- Add color option to `config.rkt` file - Add color option to `config.rkt` file
- Encrypt `todo.txt` file - Encrypt `todo.txt` file