[OpenAFS] hardlinks, sftp, and returning EXDEV

Derrick Brashear shadow@gmail.com
Wed, 12 Dec 2007 08:15:04 -0500


------=_Part_29715_1456043.1197465304543
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Dec 12, 2007 7:36 AM, Harald Barth <haba@kth.se> wrote:

>
> > This breaks OpenSSH's sftp if you are attempting to move files. A
> > rename of './blah/testfile' to './testing' will result in a failure.
> > Essentially, you can't move files around. You can only rename them
> > in the same directory via sftp.
>
> If you have two "traditional" partitions on your local HD, is sftpd
> able to handle a rename between them? I guess not. I guess this is
> a missing feature in sftpd and not in OpenAFS.
>

not necessarily. e.g. Finder compares st_dev and just deals beforehand, and
fails to cope with EXDEV.

------=_Part_29715_1456043.1197465304543
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div class="gmail_quote">On Dec 12, 2007 7:36 AM, Harald Barth &lt;<a href="mailto:haba@kth.se">haba@kth.se</a>&gt; 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 class="Ih2E3d"><br>&gt; This breaks OpenSSH&#39;s sftp if you are attempting to move files. A<br>&gt; rename of &#39;./blah/testfile&#39; to &#39;./testing&#39; will result in a failure.<br>&gt; Essentially, you can&#39;t move files around. You can only rename them
<br>&gt; in the same directory via sftp.<br><br></div>If you have two &quot;traditional&quot; partitions on your local HD, is sftpd<br>able to handle a rename between them? I guess not. I guess this is<br>a missing feature in sftpd and not in OpenAFS.
<br><font color="#888888"></font></blockquote><div><br>not necessarily. e.g. Finder compares st_dev and just deals beforehand, and fails to cope with EXDEV.<br>&nbsp;<br></div></div><br>

------=_Part_29715_1456043.1197465304543--