ipfs / go-ds-flatfs

A datastore implementation using sharded directories and flat files to store data
MIT License
46 stars 21 forks source link

First time running ipfs and got Access is denied ERRORs #41

Open LawrenceMok opened 6 years ago

LawrenceMok commented 6 years ago

Here's the console log, running from windows, with latest version of ipfs:

C:\ipfs>ipfs daemon
Initializing daemon...
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.0.139/tcp/4001
Swarm listening on /ip6/2001:0:9d38:90d7:813:1e08:c210:1d1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit/ipfs/QmTD8HEjKPirysgZbo1HtxMB6dvSfJPKHLKzR2aB21PgA5
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/192.168.0.139/tcp/4001
Swarm announcing /ip4/123.123.123.123/tcp/63156
Swarm announcing /ip6/2001:0:1234:1234:1234:1234:1234:1d1/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
11:49:28.594 ERROR    bitswap: Error writing block to datastore: rename C:\Users\lawrence\.ipfs\blocks\GT\put-044692433 C:\Users\lawrence\.ipfs\blocks\GT\CIQEEI6UYW7STXHKPKC3KDVOQ32JONNCHBAN7TD3EMGYTXXNSAIPGTQ.data: Access is denied. bitswap.go:385
11:49:51.779 ERROR    bitswap: Error writing block to datastore: rename C:\Users\lawrence\.ipfs\blocks\H3\put-247186156 C:\Users\lawrence\.ipfs\blocks\H3\CIQENKQUETLBRIJPH5W3QC4HDSWONU67OA6XJQMODJK5JUQLJESSH3A.data: Access is denied. bitswap.go:385
11:49:51.786 ERROR    bitswap: Error writing block to datastore: rename C:\Users\lawrence\.ipfs\blocks\SG\put-720457952 C:\Users\lawrence\.ipfs\blocks\SG\CIQH7JE6OFBFMPSGZXAO2ZYXOCE2ET3IZSW5H7UVOI3ERK6PSL5RSGI.data: Access is denied. bitswap.go:385
djdv commented 6 years ago

Is this the latest release version of ipfs or the latest commit? ipfs version --all. Does this happen when doing anything specific, like when adding data?