Open xiaoxinz-cisco opened 3 years ago
The first problem: is the database in use within VSCode at the time? Only one program can use it at a time, so you'll need to remove the database from VSCode (or close VSCode) before this will work.
Hi @smowton,
Thanks, I'm not running it within VSCode, using CLI instead.
Oh sure, I thought you might have VSCode sitting in the background. Does lsof | grep lock
show you what process is holding that lock file?
Regarding using a database owned by someone else, it appears at least at the moment we create parts of the database with mode 600 (i.e., private to the creating user) as you've noticed. I'd recommend copying the database over to your own private copy first (since it includes private files, you'll want the owning user to make them visible to you, for example by making a tarball of the database that you can read).
Hi,
I was facing below error while running codeql cli:
how can we avoid and resolve this issue?
Another question is, if we have two persons run ql on the same db, we noticed that there are always cache permission problems. For example, codeql-db is created by person A, but when B run a query, there are permission errors like