Open sef43 opened 3 weeks ago
That sounds like a file permissions issue unrelated to USearch. Can you try creating and reading an arbitrary text file? Or simply checking file permissions?
Yes that is my main thought, I have checked this as much as possible. If I use Index.restore('test.index') it loads sucessfully. It is only when I try and use view=True
where there is the error. There are no permission errors for other file operations. I am wondering if it is something related to the memory mapping settings.
Describe the bug
If I try and do Index.restore(, view=True) on an index file created by a different user I get an error:
Steps to reproduce
with user 1:
with user 2:
Expected behavior
The index should restore for user2 if view=True. It only restores properly if I change to view=False
USearch version
2.11.7
Operating System
Ubuntu 22.04
Hardware architecture
x86
Which interface are you using?
Python bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct