bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] failure setting directory modtime/permissions


From: Paul Eggert
Subject: Re: [Bug-tar] failure setting directory modtime/permissions
Date: Wed, 20 Oct 2004 14:54:18 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Paul Jarc) writes:

> Earlier versions of GNU tar, such as 1.13.25, did not fail in this
> case.  Solaris tar also does not fail.  Is there a portable way to
> invoke tar to avoid this failure?  Or can this behavior be changed
> back to match 1.13.25 for the next version?

Doesn't --no-overwrite-dir do what you want?
If so, you could write something like this, in a portable script:

if tar --no-overwrite-dir --version >/dev/null 2>&1; then
  tar='tar --no-overwrite-dir'
else
  tar=tar
esac




reply via email to

[Prev in Thread] Current Thread [Next in Thread]