\\wsl$ filesystem does not support file locking
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Trying to use SVN from Windows on the \wsl$ drive (in WSL2 mode), svn reports the following:
svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does not support file locking; if the working copy is on a network filesystem, make sure file locking has been enabled on the file server
svn: E200033: sqlite[S5]: database is locked, executing statement 'PRAGMA case_sensitive_like=1;PRAGMA synchronous=OFF;PRAGMA recursive_triggers=ON;PRAGMA foreign_keys=OFF;PRAGMA locking_mode = NORMAL;PRAGMA journal_mode = TRUNCATE;'
I assume the problem is that the "underlying filesystem does not support file locking" - is this assumption correct, and is there a way to address this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the SVN working-copy operation from Windows against a \wsl$ path and verify the reported SQLite database-locking error. Determine whether WSL's filesystem integration supports the required locking semantics; done means a confirmed cause and a documented workaround or fix path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100