michaelogrant / macfusion

Automatically exported from code.google.com/p/macfusion
Other
1 stars 1 forks source link

AFP and SSHFS connections to a shared area: An unexpected end-of-file was encountered (MacOS Error code: -39) #107

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Whilst testing against issue 87

<sftp://tt@omnium.freeman-centre.ac.uk/>
THEN simultaneously a secure (ssh) AFP connection
 <afp://tt@omnium.freman-centre.ac.uk/> 

TextWrangler opened, edited and saved a file with the following content:

   hello world

(I can't remember whether that was done via secure afp or via sftp. Most likely 
via afp, as the file 
bears a TextWrangler icon.)

Closed the file. 

Finder browsed via sshfs and found the file, recognised generically as as 
TextEdit file, TextEdit 
opened the file: 

    its content differed
    two or three characters (binary?)
    not "hello world". 

Closed the file.

I dragged the file from the sshfs volume to TextWrangler, which reported (and 
offered to copy to 
clipboard): 

> An unexpected end-of-file was encountered (MacOS Error code: -39)

For this issue:

Priority-low 
and may be difficult to reproduce 
but I'm noting these issues (there are more) as separate for the moment, in 
case one or more of 
them help to explain some other issue. 

Priority-low 
as both SFTP and secure AFP connections have been made by the SAME user (tt), 
which in real life 
is extraordinarily unlikely. it should be more realistic to make an SFTP 
connection to a shared 
area as one user, a secure AFP connection as another user.

Original issue reported on code.google.com by grahampe...@gmail.com on 15 May 2007 at 8:00

GoogleCodeExporter commented 8 years ago
Bear in mind issue 86

> sshfs is a utility file system, not a resilient distributed file
> system that can survive all sorts of network glitches, network
> changeovers, hibernations, and so on

so I am adding appropriate labels to this issue. The resolution may be to 
acknowledge, in documentation/
Help, the inherent limitations of sshfs. 

Next test (whilst this remains a low-priority defect) should be to make 
concurrent connections as different 
users (not both connections as tt). 

Original comment by grahampe...@gmail.com on 15 May 2007 at 8:32

GoogleCodeExporter commented 8 years ago

Original comment by grahampe...@gmail.com on 15 May 2007 at 4:35

GoogleCodeExporter commented 8 years ago
See also my comment 15 in MacFUSE issue one hundred and three 
<http://code.google.com/p/macfuse/issues/detail?id=103>.

Original comment by grahampe...@gmail.com on 16 May 2007 at 11:55

GoogleCodeExporter commented 8 years ago
See also EncFS.plugin ticket 3 
<http://dev.systemred.net/trac/encfs/ticket/3>.

Original comment by grahampe...@gmail.com on 28 May 2007 at 4:12

GoogleCodeExporter commented 8 years ago
For help and documentation, probably 
Milestone-Release1.3

Original comment by grahampe...@gmail.com on 27 Jun 2007 at 4:37