[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Unpacking a tar with a "./" entry changes dir timestamp an
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Unpacking a tar with a "./" entry changes dir timestamp and maybe ownership too |
Date: |
Mon, 16 Aug 2010 17:12:29 +0300 |
Gene Heskett <address@hidden> ha escrit:
> I expected a better reply, Sergey.
The original question was how ``to stop tar from expanding the
"./" entry''. I've given the answer.
> This is a copout over a huge security problem.
Sorry, I don't see any security problem here. What I see is the usage
problem, both when creating the archive and when extracting it.
> Its tar that needs fixed, by precheckng the perms on . and refusing to
> touch . if it has no rights.
I don't get your point. If tar "has no rights", it will be unable to
change anythng. When run as root, tar always is able to change ownerships
and modes. What do you want to check?
Regards,
Sergey