Ah ok, &quot;vi private/aliases&quot; did it :-)<br><br>I can see my <a href="http://allmydata.com">allmydata.com</a> files!<br><br>Thanks for your help!<br><br>(Still; what is the correct order of params for create-alias?)<br>
<br>Andrej<br><br><br><div class="gmail_quote">On Wed, Feb 4, 2009 at 8:11 PM, Andrej Falout <span dir="ltr">&lt;<a href="mailto:andrej@falout.org">andrej@falout.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank you very much Brian for the detailed explanation. This is probably a good material for a Linux Wiki page?<br><br>I tried the &quot;easiest&quot; variant (3), after obtaining the URI for root_dir.cap file (from <a href="https://www.allmydata.com/native_client.php" target="_blank">https://www.allmydata.com/native_client.php</a>) . However tahoe set-alias tahoe ...etc.. command returns only <br>

<br>Unknown command: set-alias<br><br>Guessing it may be the add-alias, I tried that, but I cannot find a combination of parameters that would be accepted. For instance:<br><br>tahoe create-alias --node-directory=&#39;/home/andrej/.<a href="http://tahoe-allmydata.com/" target="_blank">tahoe-allmydata.com/</a>&#39; tahoe URI:DIR2:blahblah...etc<br>

<br>/usr/local/bin/tahoe:&nbsp; Wrong number of arguments.<br><br>What am I missing?<br><br>Thanks,<br><font color="#888888">Andrej</font><div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Wed, Feb 4, 2009 at 8:06 AM, Brian Warner <span dir="ltr">&lt;<a href="mailto:warner-tahoe@allmydata.com" target="_blank">warner-tahoe@allmydata.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Tue, 3 Feb 2009 18:02:10 +1100<br>
Andrej Falout &lt;<a href="mailto:andrej@falout.org" target="_blank">andrej@falout.org</a>&gt; wrote:<br>
<br>
&gt; tahoe ls --node-directory=&#39;/home/andrej/.<a href="http://tahoe-allmydata.com/" target="_blank">tahoe-allmydata.com/</a>&#39; &quot;data/sync<br>
&gt; test&quot;<br>
&gt; 1<br>
&gt; 1~<br>
&gt; 3_renamed<br>
&gt; NWE<br>
&gt;<br>
&gt; But I see nothing on <a href="https://www.allmydata.com/webdrive/index.php" target="_blank">https://www.allmydata.com/webdrive/index.php</a><br>
&gt;<br>
&gt; I was expecting that the files will show up after a while, as they do if I<br>
&gt; copy them to Windows mounted drive. What am I doing wrong?<br>
<br>
</div>I suspect that your linux node is accessing a different Tahoe directory than<br>
the <a href="http://www.allmydata.com" target="_blank">www.allmydata.com</a> webdrive.<br>
<br>
The <a href="http://www.allmydata.com" target="_blank">www.allmydata.com</a> webdrive shows the contents of your &quot;rootcap&quot; (a<br>
capability string, starting with URI:DIR2:, which grants read+write access to<br>
a directory and everything reachable through it), which is a starting-point<br>
directory that is created when you create your <a href="http://allmydata.com" target="_blank">allmydata.com</a> account and is<br>
stored in a database that is accessed by the webdrive. To manipulate that<br>
directory from the command line, you&#39;ll need an alias that points to it.<br>
Let&#39;s call this directory URI:DIR2:AAA . (of course, you should only reveal<br>
the actual contents of a dircap string to people with whom you want to share<br>
that directory).<br>
<br>
How did you set up the &quot;tahoe:&quot; alias in the CLI tool?<br>
<br>
If you created your &quot;tahoe:&quot; alias with &quot;tahoe create-alias&quot;, then your linux<br>
machine&#39;s Tahoe node is using an isolated directory that is not connected to<br>
your <a href="http://www.allmydata.com" target="_blank">www.allmydata.com</a> filesystem. &quot;tahoe create-alias&quot; creates a brand-new<br>
directory (not connected to anything else) and stores the dircap in<br>
~/.tahoe/aliases . If that&#39;s what happened, let&#39;s call this directory<br>
URI:DIR2:BBB .<br>
<br>
So, if my suspicions are correct, your <a href="http://allmydata.com" target="_blank">allmydata.com</a> rootcap is AAA, and the<br>
webdrive will show you only the contents of AAA. Your linux node has an alias<br>
of BBB, and will only show you the contents of BBB.<br>
<br>
If so, you have three basic options:<br>
<br>
&nbsp;1: obtain a copy of your <a href="http://allmydata.com" target="_blank">allmydata.com</a> rootcap AAA, and attach it as a child<br>
 &nbsp; &nbsp;of your local BBB &quot;tahoe:&quot; alias directory. This effectively puts the<br>
 &nbsp; &nbsp;<a href="http://allmydata.com" target="_blank">allmydata.com</a> webdrive space into a subdirectory of your linux node&#39;s<br>
 &nbsp; &nbsp;reachable space: there will be some things that your linux node can get<br>
 &nbsp; &nbsp;but which your <a href="http://allmydata.com" target="_blank">allmydata.com</a> webdrive cannot.<br>
&nbsp;2: take your local BBB directory and attach it as a child of your<br>
 &nbsp; &nbsp;<a href="http://allmydata.com" target="_blank">allmydata.com</a> AAA directory. This puts your linux node&#39;s directory<br>
 &nbsp; &nbsp;underneath the <a href="http://allmydata.com" target="_blank">allmydata.com</a> directory, so there will be things that the<br>
 &nbsp; &nbsp;webdrive can reach which the linux node cannot. (note, I don&#39;t think the<br>
 &nbsp; &nbsp;webdrive has a UI for attaching caps as children, so it may not be<br>
 &nbsp; &nbsp;convenient to exercise this option)<br>
&nbsp;3: discard your local BBB directory, get a copy of the <a href="http://allmydata.com" target="_blank">allmydata.com</a> AAA<br>
 &nbsp; &nbsp;rootcap, and use &quot;tahoe set-alias tahoe AAA&quot; to make your linux node<br>
 &nbsp; &nbsp;point to the same directory as the <a href="http://allmydata.com" target="_blank">allmydata.com</a> directory. This is the<br>
 &nbsp; &nbsp;simplest approach: both the <a href="http://www.allmydata.com" target="_blank">www.allmydata.com</a> webdrive and your local<br>
 &nbsp; &nbsp;linux node will be looking at the same directory.<br>
<br>
I&#39;m not sure how you obtain the &quot;AAA&quot; rootcap, but I think Peter knows (it<br>
involves your <a href="http://allmydata.com" target="_blank">allmydata.com</a> username and password, of course).<br>
<br>
<br>
hope that helps,<br>
<font color="#888888">&nbsp;-Brian<br>
</font></blockquote></div><br><br clear="all"><br></div></div><div><div></div><div class="Wj3C7c">-- <br>Andrej Falout<br>AU: +61 (410) 463 735 NZ: +64 (21) 0256 6825 US: +1 (360) 488 0970<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Andrej Falout<br>AU: +61 (410) 463 735 NZ: +64 (21) 0256 6825 US: +1 (360) 488 0970<br>