Closed lovesegfault closed 3 years ago
Moving the db elsewhere does solve the issue, but it's not clear why.
What are the permissions on the containing folder (/srv/music
)? From my testing, write access is required to the folder containing the beets database:
$ beet rm -f Test1
$ chmod 555 ~/.config/beets
$ beet rm -f Test2
database access error: attempt to write a readonly database
the library file might have a permissions problem
I believe this is related to how SQLite works - it writes some temporary files to the same location as the database: https://sqlite.org/tempfiles.html
Yeah, I was being a complete tool and forgot to check the perms of the parent directory.
Thanks!
Problem
Running this command in verbose (
-vv
) mode:(or any other command that touches the database)
Led to this problem:
I've verified that the file is not readonly:
This seems to have started happening on the update to 1.5.0
Setup
My configuration (output of
beet config
) is: