sobomax
779578be8a
Move even closer to matching behaviour of our old tar(1) wrt preserving
...
modes of extracted files. This effectively disables special threating
of uid 0 for mode-preserving purposes and should fix problems with
pkg_add(1) and probably other things when extracting files/dirs with
sticky mode bits set.
Pointed out by: bde
MFC in: 2 weeks
2002-08-01 17:32:08 +00:00
sobomax
6a98505478
MFS: make this file compilable with gcc 2.9x as well.
2002-07-14 13:25:51 +00:00
sobomax
9567cf71c6
Fix another POLA breakage in a new tar: in diff mode presence of file
...
in the archive, but its absence in the file system should be reported
as difference, not as error.
Reported by: bde
2002-07-03 13:01:40 +00:00
sobomax
364206b008
When we are extracting directory with --unlink option and the directory
...
already exists don't spew bogus "Cannot unlink" error and exit with
non-zero code.
Reported by: bde
2002-07-03 12:44:31 +00:00
sobomax
8c4cde6179
Our strerror_r(3) returns int, not char *. This fixes bogus error messages
...
like "Cannot stat: (null)"
Reported by: bde, kris
2002-06-16 12:35:17 +00:00
sobomax
4d905c83a4
Disabling automatic --same-owner option when running as uid 0 along with
...
the --same-permissions was an overkill, so put it back. This is consistent
with what our old tar did.
Suggested by: dillon
2002-06-07 06:02:35 +00:00
sobomax
87323b540c
IMO it was a quite ugly idea that if we are running as uid 0 then we can
...
safely ignore current umask(2) and assume that permissions should be set
right like in the archive. Not only it violates POLA, but introduces
huge potential security vulnerability, particularly for ports, where
many popular archives come with 777 files and dirs.
2002-06-07 00:03:23 +00:00
sobomax
64e4db8698
Move patches into the src/contrib/tar.
...
Requested by: ps
Reviewed by: md5(1)
2002-06-04 17:31:16 +00:00
sobomax
f93378aa52
Add importing/upgrading instructions.
2002-06-04 11:08:12 +00:00
sobomax
b6cf54e6ae
Add razor used for shaving out GNU Tar.
2002-06-04 10:40:50 +00:00
sobomax
0f70d6636c
Virgin import (trimmed) of GNU Tar version 1.13.25.
2002-06-04 10:37:47 +00:00