Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223239 - net-fs/curlftpfs-0.9.1 fails on large file uploads
Summary: net-fs/curlftpfs-0.9.1 fails on large file uploads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-22 17:06 UTC by Jonathan Lombardi
Modified: 2009-01-10 23:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add streaming write support to curlftpfs (streaming-write-support.patch,25.23 KB, patch)
2008-05-22 17:18 UTC, Jonathan Lombardi
Details | Diff
ebuild for patch (curlftpfs-0.9.1.ebuild,978 bytes, text/plain)
2008-05-22 17:23 UTC, Jonathan Lombardi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lombardi 2008-05-22 17:06:59 UTC
When uploading large files using curlftpfs-0.9.1, the upload fails with "Permission denied" error.

This error was previously noted in curlftpfs-0.9 by the Novell/SuSE team ( https://bugzilla.novell.com/show_bug.cgi?id=281052 ) and eventually patched. See link for further details 0.9 patch.

This error may be related to bug#208168 in gentoo bugzilla.

Reproducible: Always

Steps to Reproduce:
1. emerge curlftpfs (you will need FUSE support in your kernel)
2. mkdir /mnt/testpoint
3. curlftpfs ftp://user:pw@testserver.somewhere.com/ /mnt/testpoint
4. cp largefile.1.dar /mnt/testpoint

where "largefile.1.dar" is > 500MB

Actual Results:  
Error opening /mnt/testpoint/largefile.1.dar : Permission denied


Expected Results:  
The copy operation should succeed.
Comment 1 Jonathan Lombardi 2008-05-22 17:18:20 UTC
Created attachment 153961 [details, diff]
Patch to add streaming write support to curlftpfs

Modification of the Novell/SuSE patch which patched curlftpfs-0.9
Patch info sent to upstream author
Comment 2 Jonathan Lombardi 2008-05-22 17:23:07 UTC
Created attachment 153963 [details]
ebuild for patch

Add this ebuild to your portage overlay to test the patch. Kludgy, but it works.
Comment 3 Riccardo 2008-09-05 08:21:01 UTC
 try to emerge this ebuild but when I do:
ebuild /usr/local/portage/net-fs/curlftpfs/curlftpfs-0.9.1.ebuild digest

: command not foundnet-fs/curlftpfs/curlftpfs-0.9.1.ebuild: line 4:
: command not foundnet-fs/curlftpfs/curlftpfs-0.9.1.ebuild: line 8:
*
* ERROR: net-fs/curlftpfs-0.9.1 failed.
* Call stack:
* ebuild.sh, line 1696: Called source '/usr/local/portage/net-fs/curlftpfs/curlftpfs-0.9.1.ebuild'
'* curlftpfs-0.9.1.ebuild, line 9: Called inherit 'eutils
* ebuild.sh, line 1173: Called die
* The specific snippet of code:
* [ ! -e "$location" ] && die "${1}.eclass could not be found by inherit()"
* The die message:
.eclass could not be found by inherit()
*
* If you need support, post the topmost build error, and the call stack if relevant.
* This ebuild is from an overlay: '/usr/local/portage/'


emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-customkernel x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7-customkernel x86_64 Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
Timestamp of tree: Wed, 03 Sep 2008 13:06:01 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r1
sys-devel/automake: 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://xxxxxxxxxxx/gentoo-distfiles/"
LANG="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"


What I do for ebuild?

Best regards,

Truzzone :?
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2009-01-10 23:27:52 UTC
0.9.2 is in the tree which incorporates this fix.  Thank you for your contribution and your patience.  Above version will be stabled within 30 days (when no problems occur).