-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPFS repo suddenly read-only #4528
Comments
Relevant: #3971 |
Questions:
@djdv Yeah, it looks like that issue but much worse. Badger fixes it because it uses fewer files and keeps them open (and locked) so other applications can't interfere. |
Do I need to run ipfs inside Administrator command prompt? |
Did you initialize it as an administrator? IPFS itself doesn't need to run as an administrator but it needs to be able to write to its repo. |
No I didn't but if it is not mandatory then there is no need that seems not to be the problem. I will still try to run the daemon via normal command line without my project. I will also try to run in admin. |
I'm just worried that running it as admin will create files that can't be written/read by a non-admin (causing problems like this). |
Just tried it on my Windows 10.
|
You are right doesn't make sense to run in Admin command prompt. Here I got the screenshot: The folder ipfs is readonly and all the folder within also. Have you tried to use this library instead for File System manipulations https://github.com/spf13/afero perhaps it will help to resolve those issues. |
In case this was missed when moving to a new issue
Directories are in this state by default on Windows, you can try making a new folder to see it. I don't think it has any influence here. EDIT: |
Even if I'm unchecking the box it always stays read-only. This doesn't change anything what ever I do the box stays the same. |
I've just seen something similar on auva (one of our big storage hosts) which runs ubuntu 16.04, ext4, and flatfs. It turned out that somehow the underlying disk parition had been remounted as readonly in the middle of something I was pinning. I remounted the partition as rw (read+write) and everything was fine. Might be totally unrelated of course. |
which is running 4cd4678 |
Here is the compressed PML file of the IO operations from ipfs.exe. To view it you need to download ProcessMonitor from Microsoft. |
Continuing from #4512 (comment) to keep the original issue clean.
Version information:
0.4.14-dev (windows)
Type:
Bug?
Severity:
Critical
Description:
@gdeverlant's repo appears to be read-only (or partially read-only) and produces a ton errors:
errors...
The text was updated successfully, but these errors were encountered: