Package: curlftpfs
Version: 0.9.1-2
Severity: important

Hi

I tried setting up rdiff-backup with curlftpfs, but got into truble when 
rdiff-backup tried to read already backuped files:
Error reading $FILE, substituting empty file.

It tried opening a file with vi and on first access, there was the 
message permissions denied. I wondered because ls -al told me that i had 
this permissions.

After some investigation I discovered 2 issues:

1) running curlftpfs -v -f $ftphost /mnt/backup shows that the avaible 
connection isn't reused, but every FS-request creates a new connection

This isn't realy a bug, it just drops performance.

2) When accessing a file for the first time (since mount), the 
connection password and username turn to rubish, and the connection is 
refused. On the second attempt it works again.

Howto reproduce:

mkdir tmp;
curlftpfs -v -f ftp.debian.org tmp; #best in 2nd shell
cd tmp/debian/;
vi README;

opening the file fails.

the curlftpfs window now shows that it has tried to connect with a 
username, in this case: [EMAIL PROTECTED]

If you try this with other server and authentification, the username and 
password change into other data.

* Remembering we are in dir "debian/"
< 226 Directory send OK.
* Connection #0 to host ftp.debian.org left intact
* Couldn't find host ftp.debian.org in the .netrc file, using defaults
* About to connect() to ftp.debian.org port 21 (#0)
*   Trying 128.101.240.212... * Connected to ftp.debian.org 
(128.101.240.212) port 21 (#0)
< 220 saens.debian.org FTP server (vsftpd)
> USER [EMAIL PROTECTED]
< 530 This FTP server is anonymous only.
* Access denied: 530
* Expire cleared
* Closing connection #0

The 3rd line shows the significant data.

I suspect a overflow somewhere. 

It is NOT reproduceable if you open a file created in the same session.

Nikola Ilo

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-xenU (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages curlftpfs depends on:
ii  fuse-utils            2.7.1-2            Filesystem in USErspace (utilities
ii  libc6                 2.7-4              GNU C Library: Shared libraries
ii  libcurl3-gnutls       7.17.1-1           Multi-protocol file transfer libra
ii  libfuse2              2.7.1-2            Filesystem in USErspace library
ii  libgcrypt11           1.4.0-2            LGPL Crypto library - runtime libr
ii  libglib2.0-0          2.14.3-1           The GLib library of C routines
ii  libgnutls13           2.0.4-1            the GNU TLS library - runtime libr
ii  libgpg-error0         1.4-2              library for common error values an
ii  libidn11              1.1-1              GNU libidn library, implementation
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libldap2              2.1.30.dfsg-13.5   OpenLDAP libraries
ii  libtasn1-3            1.1-1              Manage ASN.1 structures (runtime)
ii  zlib1g                1:1.2.3.3.dfsg-7   compression library - runtime

curlftpfs recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to