We just upgraded to tar-1.15.90 and users are complaining that operations which used to work are now failing. Specifically, when unpacking archives in a directory for which one has write permission but does not own (such as /tmp).
This may be a few feature, but tar-1.13.25 didn't exhibit this behavior. Here's a scenario. (Create a tar file which includes ".", then unpack it in /tmp): $ tar --version tar (GNU tar) 1.15.90 Copyright (C) 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. $ mkdir foo $ chmod 705 foo $ cd foo $ touch bar $ tar czvf /tmp/foo.tar.gz . ./ ./bar $ cd /tmp $ tar xmzvf foo.tar.gz ./ ./bar tar: .: Cannot change mode to rwx---rwt: Operation not permitted tar: Error exit delayed from previous errors $ -- Peter Fales Lucent Technologies Member of Technical Staff 2000 Lucent Lane Room: 1C-436 Naperville, IL 60566-7033 Email: [EMAIL PROTECTED] Phone: 630 979 8031 _______________________________________________ Bug-tar mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-tar
