On Fri, Aug 05, 2011 at 09:32:34AM +1000, Anthony Thyssen wrote:
> On Thu, 4 Aug 2011 09:10:18 +0200
> random.numb...@gmx.com wrote:
> | On Thu, Aug 04, 2011 at 02:18:35PM +1000, Anthony Thyssen wrote:
> | > On Wed, 3 Aug 2011 19:06:22 +0200
> | > random.numb...@gmx.com wrote:
> | > | Hi all,
> | > | 
> | > | I'm trying encfs over a curlftpfs mounted directory.
> | > | Copying a file to the directory fails:
> | > | 
> | > | $ cp /etc/hosts .
> | > | cp: cannot create regular file `./hosts': Operation not supported
> | > | 
> | > | 
> | > | Debug information from encfs:
> | > | 
> | > | 19:01:23 (DirNode.cpp:770) created FileNode for
> | > | /tmp/ftp/.work/AXsPT55I4b2eDku0vMh4FPyg
> | > | 19:01:23 (RawFileIO.cpp:129) open call for writable file
> | > | 19:01:23 (RawFileIO.cpp:151) open file with flags 32770, result = -1
> | > | 19:01:23 (RawFileIO.cpp:175) ::open error: Operation not supported
> | > | 19:01:23 (RawFileIO.cpp:180) file
> | > | /tmp/ftp/.work/AXsPT55I4b2eDku0vMh4FPyg open failure: 95
> | > | 
> | > | 
> | > | /tmp/ftp/.work/  is the crypted directory on the curlftpfs directory.
> | > | 
> | > | What could be the problem here?
> | > | 
> | > | 
> | > Can you write to the /tmp/ftp/.work/ directory?
> | > 
> | > That is can the curlftpfs send the written file to the remote system?
> | > 
> | > If curlftpfs can not write the file you put in /tmp/ftp/.work/
> | > then encfs has no chance of writing a file either! 
> | > 
> | > That is what the debug error seems to be saying!
> | 
> | 
> | Write access to the .work directory is possible, the ".encfs6.xml" is
> | created during the initial encfs start.
> | 
> | The file "AXsPT55I4b2eDku0vMh4FPyg" is created too, but it contains zero
> | bytes.
> | 
> |  
> Try removing the encrypted file and creating it directly (not through
> encfs).  Try and write actual data.
> 
> Also check what the open flags actually mean from the
> appropriate /usr/include files for your system.
> 
> My thinking is that it is not encfs just the curlftpfs.  Debug that
> first.


open flag 32770 = 0x8002  open(read+write)

I found this regarding curlftpfs:
---
Be aware that some applications might not 
be able to "save" files on curlftpfs from 0.9.2 on, because 
we don't support open(read+write) or open(write) and seek 
anymore.
---
http://sourceforge.net/project/shownotes.php?release_id=602461


That's bad luck.


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to