|
From: | Toby Peterson |
Subject: | Re: [Bug-tar] bug: extracting permissions |
Date: | Wed, 5 Jan 2005 18:07:37 -0500 |
On 05 Jan 2005, at 12.36, Sergey Poznyakoff wrote:
Toby Peterson <address@hidden> wrote:I have some simple test cases to reproduce this; let me know if you want to see them.Yes, I'd like to see them.
This is a *very* simple test case. Compare the output of tar -tvf, and the first and second ls -l commands.
#!/bin/sh TAR="tar --no-same-permissions" mkdir asdf chmod 777 asdf ${TAR} -cf asdf.tar asdf ${TAR} -tvf asdf.tar rmdir asdf echo mkdir asdf ls -l echo ${TAR} -xvf asdf.tar ls -l rmdir asdf rm asdf.tar
[Prev in Thread] | Current Thread | [Next in Thread] |