You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a secrets directory that is owned by root. I also have an .env file owned by root.
$ l -d deployarr/{.env,secrets}
-rw-------+ 1 root root 643 Feb 19 00:41 deployarr/.env
drw-------+ 2 root root 4096 Feb 19 00:45 deployarr/secrets/
aider doesn't have a problem with .env in any combination I can think of, but the secrets directory is causing the error below, regardless of if it's in .gitignore or .aiderignore or not.
The prompt is invisible, but I can still enter commands, watched files are still managed, but this pops up after every call.
$ aider
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Found OPENAI_API_KEY so using gpt-4o since no --model was specified.
Aider v0.74.2
Main model: gpt-4o with diff edit format
Weak model: gpt-4o-mini
Git repo: .git with 182 files
Repo-map: using 2048 tokens, auto refresh
Added CONVENTIONS.md to the chat (read-only).
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Readonly: CONVENTIONS.md
> Exception in thread Thread-2 (watch_files):
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/home/harleypig/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/aider/watch.py", line 151, in watch_files
raise e
File "/home/harleypig/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/aider/watch.py", line 142, in watch_files
for changes in watch(
File "/home/harleypig/.local/share/pipx/venvs/aider-chat/lib/python3.12/site-packages/watchfiles/main.py", line 126, in watch
with RustNotify(
^^^^^^^^^^^
PermissionError: Permission denied (os error 13) about ["/home/harleypig/projects/harleydev/deployarr/secrets"]
Version and model info
Aider v0.74.2
Main model: gpt-4o with diff edit format
Weak model: gpt-4o-mini
Git repo: .git with 182 files
Repo-map: using 2048 tokens, auto refresh
The text was updated successfully, but these errors were encountered:
Issue
I have a
secrets
directory that is owned byroot
. I also have an.env
file owned by root.aider
doesn't have a problem with.env
in any combination I can think of, but thesecrets
directory is causing the error below, regardless of if it's in.gitignore
or.aiderignore
or not.The prompt is invisible, but I can still enter commands, watched files are still managed, but this pops up after every call.
Version and model info
Aider v0.74.2
Main model: gpt-4o with diff edit format
Weak model: gpt-4o-mini
Git repo: .git with 182 files
Repo-map: using 2048 tokens, auto refresh
The text was updated successfully, but these errors were encountered: