Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394735 - app-misc/mc does not detect recursive links on FTP
Summary: app-misc/mc does not detect recursive links on FTP
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 20:11 UTC by Dagny
Modified: 2012-01-15 00:02 UTC (History)
2 users (show)

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


Attachments
screenshot of progress indicator (mc.png,195.72 KB, image/png)
2011-12-14 20:12 UTC, Dagny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dagny 2011-12-14 20:11:52 UTC
Copying thousands of files (about 70GB) over ftp on local network resulted in more data being copied than is on the source. There was a recursive symlink in the source file system. 

Reproducible: Always

Steps to Reproduce:
1.Use mc to connect to remote machine via ftp
2.Copy remote directory tree containing recursing symlink to local system
Actual Results:  
Retrieve more data than existed in directory tree

Expected Results:  
Retrieve as much data as was claimed in progress meter following directory scan

Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5345_@_2.33GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 04 Dec 2011 19:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=8"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirrors.cs.wmich.edu/gentoo http://gentoo.mirrors.tds.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j16 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync29.us.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 avahi berkdb bzip2 cdda cddb cdparanoia cdr cli cracklib crypt css cups curl cxx dbus dri dv dvd dvdr encode exif fam ffmpeg firefox flac fortran ftp gdbm geoip gimp gmp gnutls gpm gsm gzip hddtemp iconv ieee1394 imagemagick ipv6 joystick jpeg jpeg2k lame libnotify libsamplerate libwww lirc lm_sensors lock lzma lzo mad matroska mikmod mms mmx mng modules mp3 mp4 mpeg mtp mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openal opencl openexr opengl openmp pam pcre pda pdf perl png posix ppds pppd python quicktime raw rdesktop readline rss samba sasl sdl session sharedmem shorten smp sndfile sockets sound sox speex spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog sysvipc szip taglib tcpd theora threads thunar tiff timidity truetype udev unicode usb v4l vcd vdpau videos vim-syntax vnc vorbis wavpack wmf x264 xattr xcb xcomposite xft xinerama xml xmp xorg xscreensaver xv xvid yaz zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dagny 2011-12-14 20:12:49 UTC
Created attachment 295847 [details]
screenshot of progress indicator
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2011-12-15 16:50:01 UTC
Can you recreate minimal subtree with links which works incorrectly, tarball it and attach here?
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2011-12-15 16:53:38 UTC
And post your 'emerge --info app-misc/mc' please.
Comment 4 Alex Alexander (RETIRED) gentoo-dev 2012-01-15 00:02:03 UTC
Please report this upstream using their ticket system:

https://www.midnight-commander.org/wiki/NewTicket

I did a brief search but couldn't find any similar open tickets.

Feel free to re-open if we can do anything to help.

Thanks :)