-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
exp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)topic/commandsTopic commandsTopic commandstopic/daemon + init
Description
Given the $IPFS_PATH is not writable for ipfs init the command does show the output we're used to as if it worked fine. Instead it should show an fatal error because ipfs init is in fact not able to write into that directory and it is empty afterwards which causes strange errors:
# echo $IPFS_PATH
/data/ipfs
# ls -lhR /data
/data:
total 4.0K
drwxr-xr-x 2 root root 4.0K Apr 23 20:58 ipfs
/data/ipfs:
total 0
# ipfs version
ipfs version 0.3.2
# ipfs init
initializing ipfs node at /data/ipfs
generating 2048-bit RSA keypair...done
peer identity: QmfJZTJVaDcfDfxs6LpwEqiAtqxGa2rkCpTTqMPgoZwdMm
# ipfs daemon
Initializing daemon...
Error: no ipfs repo found. please run: ipfs init
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
exp/noviceSomeone with a little familiarity can pick upSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)topic/commandsTopic commandsTopic commandstopic/daemon + init