Source-Changes archive

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

CVS commit: [netbsd-1-6] src/gnu/usr.bin/tar



Module Name:    src
Committed By:   jmc
Date:           Tue Mar 25 19:56:53 UTC 2003

Modified Files:
        src/gnu/usr.bin/tar [netbsd-1-6]: extract.c

Log Message:
Pullup patch (requested by wennmach in ticket #1229)
 If an entry for a directory into which files are to be extracted is
 missing in an archive, tar handles this by noticing it, and creating
 the necessary directory itself. Since the mode for that directory is
 not regietered in the incomplete archive, tar creates these
 directories mode 0777, expecting the user's umask to strip of all
 unwanted permission bits. However, if tar is called with the -p
 option (preserve modes) the umask is cleared, and thus directories not
 contained in the archive are created mode 0777. The attached patch
 fixes this by honouring the umask in this special case.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.12.1 src/gnu/usr.bin/tar/extract.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index