[Bug 492684] New: when tarring a directory with midnight commander two times, it may skip some files.
http://bugzilla.novell.com/show_bug.cgi?id=492684 User robin.listas@telefonica.net added comment http://bugzilla.novell.com/show_bug.cgi?id=492684#c485014 Summary: when tarring a directory with midnight commander two times, it may skip some files. Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: i686 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: robin.listas@telefonica.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1 Firefox/3.0.7 I was tarring some log files for Bug #485014. I had these files: cer@nimrodel:/var/log/Bugzilla/Bug_485014/Comment_22> l total 308 drwxr-xr-x 2 cer users 4096 2009-04-07 01:08 ./ drwxr-xr-x 3 cer users 4096 2009-04-07 01:05 ../ -rw-r----- 1 cer root 0 2008-12-20 17:07 boot.log -rw-r--r-- 1 cer root 64973 2009-04-06 02:48 boot.msg -rw-r--r-- 1 cer root 42814 2009-03-24 04:49 boot.omsg -rw-r--r-- 1 cer users 2277 2009-03-14 04:02 etc_sysconfig_kernel -rw-r----- 1 cer users 171557 2009-04-06 23:33 messages -rw-r--r-- 1 cer users 10678 2009-03-24 04:02 pm-suspend.log cer@nimrodel:/var/log/Bugzilla/Bug_485014/Comment_22> I used the contextual menu in midnight commander (F2,3) to tar the current directory. Now, do (fast): · remove the tgz file. · rename etc_sysconfig_kernel to etc_sysconfig-kernel · recreate the .tar.gz from mc And the renamed file is ignored. Create a .tar.bz2 archive instead: the file is correctly stored. Wait a minute or two, and recreate the archive with mc: the new archive now does contain the renamed file. Perhaps 'mc' is using an incorrect logic to detect file changes :-? Supposedly 'mc' uses this: = t d 3 Compress the current subdirectory (tar.gz) Pwd=`basename "%d" /` echo -n "Name of the compressed file (without extension) [$Pwd]: " read tar if [ "$tar"x = x ]; then tar="$Pwd"; fi cd .. && \ tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \ echo "../$tar.tar.gz created." filesystem is mounted thus: /dev/hdd6 on / type ext3 (rw,relatime,acl,user_xattr) Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=492684 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=492684 User jeffm@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=492684#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.pr |nadvornik@novell.com |ovo.novell.com | --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2009-05-18 07:43:44 MDT --- For this to be a kernel problem, this would have to be a pretty severe bug that would occur all over the place. I think it's an mc problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=492684 User nadvornik@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=492684#c2 Vladimir Nadvornik <nadvornik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #2 from Vladimir Nadvornik <nadvornik@novell.com> 2009-05-18 10:06:22 MDT --- The archive is created fine. The bug is in viewing. It is reported here: http://www.midnight-commander.org/ticket/62 Upstream plans to replace the VFS code completely, so fixing the old code probably does not make sense: http://www.midnight-commander.org/wiki/GoogleSummerofCode09/Mvfs -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com