<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
What are the permissions of the .ndn directory and the files in it?<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br class="Apple-interchange-newline">
Lan</div>
</span></div>
</div>
</div>
<br>
<div>
<div>On May 14, 2015, at 11:45 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com">anilj.mailing@gmail.com</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I am attempting to run 'nfd' from compiled binary. However, I am running into a following problem. (see the last line). </div>
<div><br>
</div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div>sudo ./build/bin/nfd --config ./ndn_conf/nfd.conf</div>
<div>1431664563.044290 INFO: [StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%03</div>
<div>1431664563.044910 INFO: [InternalFace] registering callback for /localhost/nfd/fib</div>
<div>1431664563.045027 INFO: [InternalFace] registering callback for /localhost/nfd/faces</div>
<div>1431664563.045111 INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice</div>
<div>1431664563.045207 INFO: [InternalFace] registering callback for /localhost/nfd/status</div>
<div>1431664563.045289 INFO: [FaceTable] Added face id=1 remote=internal:// local=internal://</div>
<div>1431664563.049813 INFO: [CommandValidator] Giving privilege "faces" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.049861 INFO: [CommandValidator] Giving privilege "fib" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.049886 INFO: [CommandValidator] Giving privilege "strategy-choice" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.049917 WARNING: [CommandValidator] Wildcard identity is intended for demo purpose only and SHOULD NOT be used in production environment</div>
<div>1431664563.049943 INFO: [CommandValidator] Giving privilege "faces" to identity wildcard</div>
<div>1431664563.049969 INFO: [CommandValidator] Giving privilege "strategy-choice" to identity wildcard</div>
<div>1431664563.050159 INFO: [TablesConfigSection] Setting CS max packets to 65536</div>
<div>1431664563.050738 INFO: [MulticastUdpFace] [id=-1,local=udp4://<a href="http://10.0.0.37:56363/">10.0.0.37:56363</a>,remote=udp4://<a href="http://224.0.23.170:56363/">224.0.23.170:56363</a>] Creating face</div>
<div>1431664563.050818 INFO: [FaceTable] Added face id=256 remote=udp4://<a href="http://224.0.23.170:56363/">224.0.23.170:56363</a> local=udp4://<a href="http://10.0.0.37:56363/">10.0.0.37:56363</a></div>
<div>1431664563.053394 INFO: [EthernetFace] [id=-1,local=<a href="dev://wlan0,remote=ether://[01:00:5e:00:17:aa]]">dev://wlan0,remote=ether://[01:00:5e:00:17:aa]]</a> Creating face on wlan0/60:36:dd:a8:11:73</div>
<div>1431664563.081330 INFO: [FaceTable] Added face id=257 remote=<a href="ether://[01:00:5e:00:17:aa]">ether://[01:00:5e:00:17:aa]</a> local=<a href="dev://wlan0">dev://wlan0</a></div>
<div>1431664563.090395 INFO: [EthernetFace] [id=-1,local=<a href="dev://eth0,remote=ether://[01:00:5e:00:17:aa]]">dev://eth0,remote=ether://[01:00:5e:00:17:aa]]</a> Creating face on eth0/e0:db:55:d6:eb:e3</div>
<div>1431664563.105145 INFO: [FaceTable] Added face id=258 remote=<a href="ether://[01:00:5e:00:17:aa]">ether://[01:00:5e:00:17:aa]</a> local=<a href="dev://eth0">dev://eth0</a></div>
<div>1431664563.115727 INFO: [CommandValidator] Giving privilege "faces" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.116162 INFO: [CommandValidator] Giving privilege "fib" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.116575 INFO: [CommandValidator] Giving privilege "strategy-choice" to identity /localhost/daemons/nfd/ksk-1430084088432</div>
<div>1431664563.116942 WARNING: [CommandValidator] Wildcard identity is intended for demo purpose only and SHOULD NOT be used in production environment</div>
<div>1431664563.117065 INFO: [CommandValidator] Giving privilege "faces" to identity wildcard</div>
<div>1431664563.117297 INFO: [CommandValidator] Giving privilege "strategy-choice" to identity wildcard</div>
<div>1431664563.117670 INFO: [FaceTable] Added face id=255 remote=null:// local=null://</div>
<div>1431664563.122135 INFO: [FaceTable] Added face id=254 remote=contentstore:// local=contentstore://</div>
<div>1431664563.124781 INFO: [PrivilegeHelper] dropped to effective uid=116 gid=126</div>
<div>1431664563.127378 INFO: [UnixStreamFace] [id=-1,local=<a href="unix:///run/nfd.sock,remote=fd://25]">unix:///run/nfd.sock,remote=fd://25]</a> Creating face</div>
<div>1431664563.127473 INFO: [FaceTable] Added face id=259 remote=<a href="fd://25">fd://25</a> local=<a href="unix:///run/nfd.sock">unix:///run/nfd.sock</a></div>
<div><font color="#ff0000">1431664563.127904 FATAL: [NFD] FileStore: error opening file for reading: /home/anilj1/.ndn/ndnsec-tpm-file/%JAmVmylSjFZutfeCI1dUvGgM+kOffJmUp3kLgktBVQ=.pri</font></div>
<div><font color="#ff0000"><br>
</font></div>
</blockquote>
<font>I also tried after changing the grp and owner of the /home/anilj1/.ndn to 'root' but yet it did not help. Is something missing here?</font>
<div><br>
</div>
<div><font>One thing I am not sure when the .ndn folder is created? Is it created first time by the nfd process after it is started? What if I remove this folder before I start nfd locally? </font></div>
<div><font><br>
</font></div>
<div><font>Also is it possible to run nfd from a local user and not with sudo proviledges?</font></div>
<div>
<div><font><br>
</font></div>
<div><font>/anil.<br>
</font>
<div><br>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev<br>
</blockquote>
</div>
<br>
</body>
</html>