zack-ashen/noted

Permission denied to save notes.json

Closed this issue · 0 comments

Hi, I've installed noted through arch's yay, git version, and I've received a permission error [Errno 13].
This is the traceback:
Traceback (most recent call last):
File "/usr/bin/noted", line 33, in
sys.exit(load_entry_point('noted-notes==0.1.4', 'console_scripts', 'noted')())
File "/usr/lib/python3.9/site-packages/noted/noted.py", line 496, in main
note_view()
File "/usr/lib/python3.9/site-packages/noted/noted.py", line 439, in note_view
make_a_list(note_list)
File "/usr/lib/python3.9/site-packages/noted/noted.py", line 150, in make_a_list
save_notes(note_list)
File "/usr/lib/python3.9/site-packages/noted/noted.py", line 41, in save_notes
note_file = open(notes_file_path, 'w')
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site-packages/noted/note_data/notes.json'