On Fri, 2004-07-23 at 00:36, Rene Wagner wrote:
> [...]
Sorry, das war nicht gut kopiert...
$ mkdir tartest
$ touch tartest/foobar
$ chmod 444 tartest/foobar
$ tar cvfj tartest.tar.bz2 tartest/
tartest/
tartest/foobar
$ cd tmp/
$ tar xvfj ../tartest.tar.bz2
tartest/
tartest/foobar
$ ls -la tartest/
total 8
drwxr-xr-x 2 r r 4096 Jul 23 00:43 .
drwxr-x--- 5 r r 4096 Jul 23 00:45 ..
-r--r--r-- 1 r r 0 Jul 23 00:43 foobar
$ rm -rf tartest/
$ umask 0077
$ tar xvfj ../tartest.tar.bz2
tartest/
tartest/foobar
$ ls -la tartest/
total 8
drwx------ 2 r r 4096 Jul 23 00:43 .
drwxr-x--- 5 r r 4096 Jul 23 00:45 ..
-r-------- 1 r r 0 Jul 23 00:43 foobar
$ rm -rf tartest/
$ tar pxvfj ../tartest.tar.bz2
tartest/
tartest/foobar
$ ls -la tartest/
total 8
drwxr-xr-x 2 r r 4096 Jul 23 00:43 .
drwxr-x--- 5 r r 4096 Jul 23 00:46 ..
-r--r--r-- 1 r r 0 Jul 23 00:43 foobar
Received on Fri, 23 Jul 2004 00:49:19 +0200
This archive was generated by hypermail 2.1.8 : Fri Jul 23 2004 - 00:49:11 CEST